diff options
author | Gatis Paeglis <gatis.paeglis@digia.com> | 2013-01-23 15:45:52 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-01-24 13:45:01 +0100 |
commit | 3a2b3fc0d72fe1e52a7830e03f849963f6b73e02 (patch) | |
tree | 31a9fcecfd89a21fa3a0316918a13f84a4df5d8c /tests/auto/other | |
parent | 45be71bf7d7c855e74b84d2fabb4e626afc57a22 (diff) |
Don't try to render a pixmap when there isn't any.
This happened in cases when QDrag choose not to use a
pixmap to represent data in a drag and drop operation.
The chain that leads to QPainter errors begins in
QBasicDrag::startDrag() where we call setPixmap() with
Null pixmap, which later calls updateGeometry() which
leads to calling render() before the backing store
has been resized.
Task-number: QTBUG-29283
Change-Id: I2145159d3f23dbde2cba2ca9aa1788e222aba02a
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'tests/auto/other')
0 files changed, 0 insertions, 0 deletions