aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-11-24 14:12:56 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-24 15:02:58 +0100
commitbcc8e9a0b08a8c9aab7de64aa0c2534ade1a5417 (patch)
tree612e1841241a14eb5d2776c06521704262efa916 /src
parent6680be45ee6d29300227e628dc54ff33c49a36cf (diff)
Propegate the smooth property to the textureprovider
Task-number: QTBUG-22880 Change-Id: I693a44e87fb87bc92e1647f6158d23986f98623a Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/declarative/items/qquickimage.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/items/qquickimage.cpp b/src/declarative/items/qquickimage.cpp
index 5f706aceb3..598d6bef48 100644
--- a/src/declarative/items/qquickimage.cpp
+++ b/src/declarative/items/qquickimage.cpp
@@ -550,6 +550,7 @@ QSGTextureProvider *QQuickImage::textureProvider() const
"Cannot be used outside the GUI thread");
QQuickImagePrivate *dd = const_cast<QQuickImagePrivate *>(d);
dd->provider = new QQuickImageTextureProvider;
+ dd->provider->m_smooth = d->smooth;
dd->provider->m_texture = d->pix.texture(d->sceneGraphContext());
}