diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-05-02 07:23:24 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-05-02 07:23:24 +0200 |
commit | 280242a5a14a99cc10857e35da61ac5b894d5f6b (patch) | |
tree | fcb25e58ad391b288c55ec9298259bd5bf8f4e8b /src/declarative/items/qsgimage.cpp | |
parent | 3f872cd6899fe53ed2549f7d2d9b0c902721f667 (diff) | |
parent | 155faa3b8b1e04241bd53df3eb008d54a71cc667 (diff) |
Merge branch 'qtquick2' of scm.dev.nokia.troll.no:qt/qtdeclarative-staging into qtquick2
Diffstat (limited to 'src/declarative/items/qsgimage.cpp')
-rw-r--r-- | src/declarative/items/qsgimage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/items/qsgimage.cpp b/src/declarative/items/qsgimage.cpp index 6f63555b81..d24db9f670 100644 --- a/src/declarative/items/qsgimage.cpp +++ b/src/declarative/items/qsgimage.cpp @@ -262,9 +262,9 @@ QSGNode *QSGImage::updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *) }; QRectF nsrect(sourceRect.x() / d->pix.width(), - 1 - sourceRect.y() / d->pix.height(), + sourceRect.y() / d->pix.height(), sourceRect.width() / d->pix.width(), - -sourceRect.height() / d->pix.height()); + sourceRect.height() / d->pix.height()); node->setHorizontalWrapMode(hWrap); node->setVerticalWrapMode(vWrap); |