summaryrefslogtreecommitdiffstats
path: root/examples/mainwindows/mdi/mainwindow.cpp
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@nokia.com>2009-07-23 07:42:55 (GMT)
committerAndy Shaw <andy.shaw@nokia.com>2009-07-23 07:42:55 (GMT)
commitbf095defcbc6f025e39aab32f2ab8102639fd0d2 (patch)
tree1363ac9054bcc7010946d06ed69abcb7b2895e85 /examples/mainwindows/mdi/mainwindow.cpp
parent708150e3a88fdc5f7c3d1998f2b5132cea264a71 (diff)
downloadQt-bf095defcbc6f025e39aab32f2ab8102639fd0d2.zip
Qt-bf095defcbc6f025e39aab32f2ab8102639fd0d2.tar.gz
Qt-bf095defcbc6f025e39aab32f2ab8102639fd0d2.tar.bz2
Remove the close shortcut from the example since QMdiArea provides this
Since QMdiArea provides this already via the standard keys, then we don't want to add it ourselves otherwise it triggers an ambigious shortcut on the platforms which already has CTRL+F4. Task-number: 161999 Reviewed-by: Kavindra Palaraja
Diffstat (limited to 'examples/mainwindows/mdi/mainwindow.cpp')
-rw-r--r--examples/mainwindows/mdi/mainwindow.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/mainwindows/mdi/mainwindow.cpp b/examples/mainwindows/mdi/mainwindow.cpp
index 3cb54f1..9ef2cae 100644
--- a/examples/mainwindows/mdi/mainwindow.cpp
+++ b/examples/mainwindows/mdi/mainwindow.cpp
@@ -259,7 +259,6 @@ void MainWindow::createActions()
connect(pasteAct, SIGNAL(triggered()), this, SLOT(paste()));
closeAct = new QAction(tr("Cl&ose"), this);
- closeAct->setShortcut(tr("Ctrl+F4"));
closeAct->setStatusTip(tr("Close the active window"));
connect(closeAct, SIGNAL(triggered()),
mdiArea, SLOT(closeActiveSubWindow()));