Fixed tst_QWidget::updateWhileMinimized()
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 22 Sep 2011 08:43:52 +0000 (10:43 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 26 Sep 2011 07:38:52 +0000 (09:38 +0200)
commit67fec4a5f5f164a24481921eab57955ce0d607f0
tree601516cdbde9a82ce82281977114c2e288197c8d
parent412e6b754f8aa06b989a167fc9f9b6d0efcc024b
Fixed tst_QWidget::updateWhileMinimized()

The QBackingStore::sync() call after the first expose when the widget is
un-minimized is discarded due to Qt::WA_Mapped being false. Since there
might be backing store syncs pending on Qt::WA_Mapped being set we
should also call syncBackingStore() when we get the map event.

Change-Id: I762545dc0522a99f0b36ce9a2cd2f45894cb40a5
Reviewed-on: http://codereview.qt-project.org/5377
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/widgets/kernel/qwidgetwindow_qpa.cpp