From faf4865b8008da895ce587091950e711744df55f Mon Sep 17 00:00:00 2001 From: Andy Shaw Date: Fri, 4 Dec 2015 12:10:48 +0100 Subject: Use unique shortcuts for the different actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Ibc143ffac83dfb30facc9e93651e5f18550ab612 Reviewed-by: Topi Reiniƶ --- examples/widgets/graphicsview/diagramscene/mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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())); } -- cgit v1.2.3