Propegate the smooth property to the textureprovider
authorGunnar Sletta <gunnar.sletta@nokia.com>
Thu, 24 Nov 2011 13:12:56 +0000 (14:12 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 24 Nov 2011 14:02:58 +0000 (15:02 +0100)
Task-number: QTBUG-22880

Change-Id: I693a44e87fb87bc92e1647f6158d23986f98623a
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/declarative/items/qquickimage.cpp

index 5f706ac..598d6be 100644 (file)
@@ -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());
     }