Fixed popups getting blocked by modal windows.
authorSamuel Rødal <samuel.rodal@nokia.com>
Thu, 2 Aug 2012 13:18:57 +0000 (15:18 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 6 Aug 2012 01:21:36 +0000 (03:21 +0200)
commite033d59c944c6d25ebbefcfd0760d81c5b9eca99
treefac5bcd4710dce9a99560e02e02420a3366c31b5
parent35215a0f5f31c4bcca245e3f45b5ea02f4dcfc6b
Fixed popups getting blocked by modal windows.

In the case of a file dialog with a completer, the completion list view
is a popup that is not a transient child of the file dialog. Thus it
ends up getting its blockedByModal flag set due to the file dialog
window being a modal window.

To prevent this we make sure popups don't get blocked by modal windows,
as they were special cased and processed before modal windows in Qt 4.x.

Change-Id: Id5688cfb1534541cd1678b1e53d75e34a68f9b8e
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
src/gui/kernel/qguiapplication.cpp