summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpainter.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-11-03 13:08:00 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-11-03 13:08:00 (GMT)
commit7b7c804723f1bbd71d436ab12f5e68a0f87c71d7 (patch)
treed8ce8756eddbb49e0947253be7c540714ed8aa42 /src/gui/painting/qpainter.cpp
parent4d0735b98a9bd6b440adf63725e6062b601ed442 (diff)
parent0a24f29a0f53716f9c9e000f5bb55ac5d925df5c (diff)
downloadQt-7b7c804723f1bbd71d436ab12f5e68a0f87c71d7.zip
Qt-7b7c804723f1bbd71d436ab12f5e68a0f87c71d7.tar.gz
Qt-7b7c804723f1bbd71d436ab12f5e68a0f87c71d7.tar.bz2
Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-graphics-team into 4.6
Diffstat (limited to 'src/gui/painting/qpainter.cpp')
-rw-r--r--src/gui/painting/qpainter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qpainter.cpp b/src/gui/painting/qpainter.cpp
index cbae5b6..09a4563 100644
--- a/src/gui/painting/qpainter.cpp
+++ b/src/gui/painting/qpainter.cpp
@@ -7604,7 +7604,7 @@ start_lengthVariant:
l.setPosition(QPointF(0., height));
height += l.height();
width = qMax(width, l.naturalTextWidth());
- if (!brect && height >= r.height())
+ if (!dontclip && !brect && height >= r.height())
break;
}
textLayout.endLayout();