Fixed multiple modal windows from all blocking each other.
authorSamuel Rødal <samuel.rodal@digia.com>
Fri, 21 Sep 2012 10:12:01 +0000 (12:12 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 21 Sep 2012 20:04:00 +0000 (22:04 +0200)
commited8dec360c18e77ee60849e3a74fbd27501d2b4a
tree6a30b731b356b0ac7e38b795226ffa735934aa62
parentf4c1ae672652bc908ea1e0a8e353557b392940d7
Fixed multiple modal windows from all blocking each other.

A modal window in front in the modal window list should never be blocked
by a modal window further back in the list. This was taken care of in
QGuiApplicationPrivate::isWindowBlocked(), we just need to make sure it
gets called when a new modal window gets shown so that its blocked
status is up to date.

Task-number: QTBUG-27206
Change-Id: I590f1715e66067edb178081352636f34fe54a885
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
src/gui/kernel/qguiapplication.cpp
tests/auto/gui/kernel/qwindow/tst_qwindow.cpp