summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorJan Arve Saether <jan-arve.saether@digia.com>2012-10-26 11:01:47 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-29 20:27:37 +0100
commitc21564b1ef2fe7959907ef9fefe44fad58738710 (patch)
treeefc0df898b9837176536eb78a871a04dff4e3857 /src/widgets
parentc360fbcd6c9276b8a3fa8a200fa489b7b69e3aaa (diff)
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<QFileDialog *>(this) || qobject_cast<QFontDialog *>(this) || qobject_cast<QWizard *>(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 <jpnurmi@digia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/dialogs/qdialog.cpp3
1 files changed, 0 insertions, 3 deletions
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<QDialog> guard = this;