mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
apply QKeySequence & remove unnecessary tr
This commit is contained in:
parent
f79d0666e3
commit
9be29641b0
7 changed files with 49 additions and 49 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue