diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-10-09 15:50:16 +0200 |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-10-09 16:07:11 +0200 |
commit | 9e3bbc70ef6bd383435bf8d46165050a87f05d55 (patch) | |
tree | ec9385622bd3372eb53c54ca405d4e659a208b89 /src/gui/image/qpixmapdata_p.h | |
parent | f74570b72bd71f3747521a5f561971165f3297e5 (diff) | |
download | qt4-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/qpixmapdata_p.h')
0 files changed, 0 insertions, 0 deletions