showIsFullscreen: only respect this hint for windows and dialogs
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>
Thu, 24 Jan 2013 15:41:24 +0000 (16:41 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 2 Mar 2013 09:52:56 +0000 (10:52 +0100)
commit8c8e9f59bcbf6ce394b9ae081988f3d294438acd
treea2a06b9191c2720f41248a3ce619ec12ccdfdc09
parenta496b5dc38c96465e6ea4750ef293d8f2c3b6fc5
showIsFullscreen: only respect this hint for windows and dialogs

If the window or widget is a popup, ignore the hint. The
intention of the flag should be to show main windows etc in
fullscreen, and not all kinds of popups and tooltips. The user can always
call showFullscreen explicit when necessary.

This is a backport of 48c73540ad2a507963db0fba57484faf66462ad7.

We need it in stable to fix menus on BlackBerry platform, they're
appearing fullscreen.

Task-number: QTBUG-29969

Change-Id: Id0d6cfc194916aa7f993cde54b5a0002f60399e1
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
src/gui/kernel/qwindow.cpp
src/widgets/kernel/qwidget.cpp