Enable QComboBox animation on Windows and fixing related bugs
authorThomas Hartmann <Thomas.Hartmann@nokia.com>
Fri, 17 Aug 2012 09:10:15 +0000 (11:10 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 20 Aug 2012 13:52:51 +0000 (15:52 +0200)
commita03e815b6cf363cd6a2d82e36f0d90bcbd19972c
tree51d45fd72dc2bb7feff3279194eb6f4b8fa44451
parentdd121752e9e71c44f82f9417ce567af69bd9f457
Enable QComboBox animation on Windows and fixing related bugs

QWidget:grab() has a default parameter (invalid rect).
QRect() is the null rect and widget->grab(QRect())
returns an empty pixmap.

QWidget:grab() has to be free of side effects and should not
affect any dirty flags.

Change-Id: I8ff558343c366769cd6c587e77f862668e8054f2
Task-number: QTBUG-25436
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
src/widgets/kernel/qwidget.cpp
src/widgets/widgets/qcombobox.cpp
src/widgets/widgets/qeffects.cpp