summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetextlayout.cpp
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-10-19 01:29:07 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-10-19 01:29:07 (GMT)
commit121f28073fd9d71ec7da632c90e582a41e1929e5 (patch)
tree3189e6c0e9accb3243e42c1867cf20ca3991f971 /src/declarative/graphicsitems/qdeclarativetextlayout.cpp
parent9bee0352ad9d9037c914c517486fe40f497f288a (diff)
parent994d54f479e7c00832011cefc93b9d03d8ba1375 (diff)
downloadQt-121f28073fd9d71ec7da632c90e582a41e1929e5.zip
Qt-121f28073fd9d71ec7da632c90e582a41e1929e5.tar.gz
Qt-121f28073fd9d71ec7da632c90e582a41e1929e5.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml: Fix QDeclarativeTextLayout under non-affine transformation Fix visual tests. ListView.visibleArea.heightRatio should not emit a signal when it does not change. Properties should have precedence over methods.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextlayout.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextlayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextlayout.cpp b/src/declarative/graphicsitems/qdeclarativetextlayout.cpp
index e8b5fb2..89a2158 100644
--- a/src/declarative/graphicsitems/qdeclarativetextlayout.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextlayout.cpp
@@ -321,7 +321,7 @@ void QDeclarativeTextLayout::draw(QPainter *painter, const QPointF &p)
priv->extended->type() == QPaintEngine::OpenVG ||
priv->extended->type() == QPaintEngine::OpenGL);
- if (!paintEngineSupportsTransformations) {
+ if (!paintEngineSupportsTransformations || !priv->state->matrix.isAffine()) {
QTextLayout::draw(painter, p);
return;
}