summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringbuilder.cpp
diff options
context:
space:
mode:
authorTitta Heikkala <titta.heikkala@digia.com>2012-08-16 08:27:57 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-08-23 14:38:03 (GMT)
commitb97d1e01c9c76a1ab87fc791dfb8c5708457286c (patch)
tree2f67063c4302a9eae8fb61a34debbb3e3fed931a /src/corelib/tools/qstringbuilder.cpp
parent465c6fe7a16365c2fb7b46b664faaa9c1bacd022 (diff)
downloadQt-b97d1e01c9c76a1ab87fc791dfb8c5708457286c.zip
Qt-b97d1e01c9c76a1ab87fc791dfb8c5708457286c.tar.gz
Qt-b97d1e01c9c76a1ab87fc791dfb8c5708457286c.tar.bz2
Remove warning about non existing paint device engine
The QWindowsVistaStyle::drawPrimitive() method was trying to draw the pixmap for an item in an item view even if the section width was zero or less then zero. This resulted "QPainter::begin: Paint device returned engine == 0, type: 2" error. It's now checked that the width and the height of the section is greater than zero before creating the painter. Task-number: QTBUG-26047 Change-Id: I36dd2792fd505be773951e5ac36b0e3362ec2292 Reviewed-by: Andy Shaw <andy.shaw@digia.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com> (cherry picked from commit 929e934969c621d7c1773e4233c14d358de4d385)
Diffstat (limited to 'src/corelib/tools/qstringbuilder.cpp')
0 files changed, 0 insertions, 0 deletions