summaryrefslogtreecommitdiff
path: root/src/gui/image/qpixmapcache_p.h
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-09 15:50:16 +0200
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-09 16:07:11 +0200
commit9e3bbc70ef6bd383435bf8d46165050a87f05d55 (patch)
treeec9385622bd3372eb53c54ca405d4e659a208b89 /src/gui/image/qpixmapcache_p.h
parentf74570b72bd71f3747521a5f561971165f3297e5 (diff)
downloadqt4-tools-9e3bbc70ef6bd383435bf8d46165050a87f05d55.tar.gz
Fixed bug where calling fill on pixmap with active painter would crash.
Calling QPixmap::fill() on a pixmap may in some cases cause the painter's paint engine pointer to become stale. A subsequent call to the painter would therefore crash. Now, QPixmap::fill() will print a warning and return in those cases. I also added a warning in the documentation of QPixmap::fill(). Task-number: QTBUG-2832 Reviewed-by: Trond
Diffstat (limited to 'src/gui/image/qpixmapcache_p.h')
0 files changed, 0 insertions, 0 deletions