apply QKeySequence & remove unnecessary tr

This commit is contained in:
Zach H 2015-04-14 12:13:48 -04:00
parent f79d0666e3
commit 9be29641b0
7 changed files with 49 additions and 49 deletions

View file

@ -19,7 +19,7 @@ GameView::GameView(QGraphicsScene *scene, QWidget *parent)
connect(scene, SIGNAL(sigStopRubberBand()), this, SLOT(stopRubberBand()));
aCloseMostRecentZoneView = new QAction(this);
aCloseMostRecentZoneView->setShortcut(tr("Esc"));
aCloseMostRecentZoneView->setShortcut(QKeySequence("Esc"));
connect(aCloseMostRecentZoneView, SIGNAL(triggered()), scene, SLOT(closeMostRecentZoneView()));
addAction(aCloseMostRecentZoneView);