diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-10-09 13:50:16 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-10-09 14:07:11 (GMT) |
commit | 9e3bbc70ef6bd383435bf8d46165050a87f05d55 (patch) | |
tree | ec9385622bd3372eb53c54ca405d4e659a208b89 /src/gui/image/qiconengineplugin.h | |
parent | f74570b72bd71f3747521a5f561971165f3297e5 (diff) | |
download | Qt-9e3bbc70ef6bd383435bf8d46165050a87f05d55.zip Qt-9e3bbc70ef6bd383435bf8d46165050a87f05d55.tar.gz Qt-9e3bbc70ef6bd383435bf8d46165050a87f05d55.tar.bz2 |
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/qiconengineplugin.h')
0 files changed, 0 insertions, 0 deletions