Do not call markDirty() for hidden widgets.
authorSamuel Rødal <samuel.rodal@nokia.com>
Fri, 3 Aug 2012 12:55:39 +0000 (14:55 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 6 Aug 2012 01:21:38 +0000 (03:21 +0200)
commit054645c846e94eb9aa14772685340ddb5d9a505f
treecdea78c24a00227abf6caf83cb0070ab1d8daa6c
parente033d59c944c6d25ebbefcfd0760d81c5b9eca99
Do not call markDirty() for hidden widgets.

Fixed crash when resizing a scroll area with a native viewport
(typically a QGLWidget) causes the scroll bars to get hidden, while
there are still expose events in the queue for the scroll bar widget.

Task-number: QTBUG-26746
Change-Id: Ia77c8eb32a6730670333120af3f9a772c64807f1
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/widgets/kernel/qwidgetwindow.cpp