aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2016-03-07 19:32:12 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2016-03-07 19:32:12 +0100
commitf086de0f3a67698b8066576a423298aadf566e13 (patch)
tree984c2b01b60d23c77198e80dfa5053c1cd51f622
parent74d92ef80f5e13f2e10a592e0389a10bbeab189e (diff)
parent617b0385f34f0c515694c703ddf94395197859fb (diff)
Merge remote-tracking branch 'origin/5.6' into 5.7
-rw-r--r--src/effects/private/qgfxsourceproxy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effects/private/qgfxsourceproxy.cpp b/src/effects/private/qgfxsourceproxy.cpp
index 201e191..f917865 100644
--- a/src/effects/private/qgfxsourceproxy.cpp
+++ b/src/effects/private/qgfxsourceproxy.cpp
@@ -161,7 +161,7 @@ void QGfxSourceProxy::updatePolish()
} else if (childless && interpOk) {
if (shaderSource) {
- if (shaderSource->sourceRect() == m_sourceRect)
+ if (shaderSource->sourceRect() == m_sourceRect || m_sourceRect.isEmpty())
direct = true;
} else if (!padded && ((image && image->fillMode() == QQuickImage::Stretch)