From c21564b1ef2fe7959907ef9fefe44fad58738710 Mon Sep 17 00:00:00 2001 From: Jan Arve Saether Date: Fri, 26 Oct 2012 11:01:47 +0200 Subject: Remove some dead code This code became dead when the Symbian code was removed, and should ideally have been removed at that point. You can find the old code in 4.8 repo: bool showSystemDialogFullScreen = false; if (qobject_cast(this) || qobject_cast(this) || qobject_cast(this)) { showSystemDialogFullScreen = true; } if (showSystemDialogFullScreen) { setWindowFlags(windowFlags() | Qt::WindowSoftkeysVisibleHint); setWindowState(Qt::WindowFullScreen); } So, obviously, stuff inside the #ifdef Q_OS_SYMBIAN was removed, but the side-effect of that was not realized..... Change-Id: I6b5d1066c97367c354af4da1ce6b9c60c8dc2120 Reviewed-by: J-P Nurmi --- src/widgets/dialogs/qdialog.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/widgets/dialogs/qdialog.cpp b/src/widgets/dialogs/qdialog.cpp index d2c3b2ad0e..7b47f4e135 100644 --- a/src/widgets/dialogs/qdialog.cpp +++ b/src/widgets/dialogs/qdialog.cpp @@ -516,9 +516,6 @@ int QDialog::exec() setAttribute(Qt::WA_ShowModal, true); setResult(0); - bool showSystemDialogFullScreen = false; - if (showSystemDialogFullScreen) - setWindowState(Qt::WindowFullScreen); show(); QPointer guard = this; -- cgit v1.2.3