summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@theqtcompany.com>2015-12-04 12:10:48 +0100
committerAndy Shaw <andy.shaw@theqtcompany.com>2015-12-11 09:40:55 +0000
commitfaf4865b8008da895ce587091950e711744df55f (patch)
tree62f191f5866a554af2c1e55c3fb5d40faf4d5eff /examples
parent1641a9ae4379d008c342dd7af8aac069b8b31d84 (diff)
Use unique shortcuts for the different actions
Change-Id: Ibc143ffac83dfb30facc9e93651e5f18550ab612 Reviewed-by: Topi Reiniƶ <topi.reinio@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/widgets/graphicsview/diagramscene/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/widgets/graphicsview/diagramscene/mainwindow.cpp b/examples/widgets/graphicsview/diagramscene/mainwindow.cpp
index a57dbaa9a0..02479c1a5a 100644
--- a/examples/widgets/graphicsview/diagramscene/mainwindow.cpp
+++ b/examples/widgets/graphicsview/diagramscene/mainwindow.cpp
@@ -389,7 +389,7 @@ void MainWindow::createActions()
//! [23]
sendBackAction = new QAction(QIcon(":/images/sendtoback.png"), tr("Send to &Back"), this);
- sendBackAction->setShortcut(tr("Ctrl+B"));
+ sendBackAction->setShortcut(tr("Ctrl+T"));
sendBackAction->setStatusTip(tr("Send item to back"));
connect(sendBackAction, SIGNAL(triggered()), this, SLOT(sendToBack()));
@@ -421,7 +421,7 @@ void MainWindow::createActions()
connect(underlineAction, SIGNAL(triggered()), this, SLOT(handleFontChange()));
aboutAction = new QAction(tr("A&bout"), this);
- aboutAction->setShortcut(tr("Ctrl+B"));
+ aboutAction->setShortcut(tr("F1"));
connect(aboutAction, SIGNAL(triggered()), this, SLOT(about()));
}