Make "Quit" menu saner
- Use 'x' for Exit shortcut - Set Ctrl-Q as global quit key sequence
This commit is contained in:
parent
8828da5f56
commit
d934e7e3dd
4 changed files with 5 additions and 7 deletions
|
@ -65,9 +65,6 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
|
|||
|
||||
// Menus
|
||||
QMenu *file = menuBar()->addMenu(tr("&File"));
|
||||
file->addAction(sendCoinsAction);
|
||||
file->addAction(receiveCoinsAction);
|
||||
file->addSeparator();
|
||||
file->addAction(quitAction);
|
||||
|
||||
QMenu *settings = menuBar()->addMenu(tr("&Settings"));
|
||||
|
@ -197,8 +194,9 @@ void BitcoinGUI::createActions()
|
|||
connect(receiveCoinsAction, SIGNAL(triggered()), this, SLOT(gotoReceiveCoinsPage()));
|
||||
connect(sendCoinsAction, SIGNAL(triggered()), this, SLOT(gotoSendCoinsPage()));
|
||||
|
||||
quitAction = new QAction(QIcon(":/icons/quit"), tr("&Exit"), this);
|
||||
quitAction = new QAction(QIcon(":/icons/quit"), tr("E&xit"), this);
|
||||
quitAction->setToolTip(tr("Quit application"));
|
||||
quitAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q));
|
||||
aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About"), this);
|
||||
aboutAction->setToolTip(tr("Show information about Bitcoin"));
|
||||
optionsAction = new QAction(QIcon(":/icons/options"), tr("&Options..."), this);
|
||||
|
|
|
@ -351,7 +351,7 @@ Are you sure you wish to encrypt your wallet?</source>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../bitcoingui.cpp" line="200"/>
|
||||
<source>&Exit</source>
|
||||
<source>E&xit</source>
|
||||
<translation>Beenden</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
|
|
@ -372,7 +372,7 @@ Are you sure you wish to encrypt your wallet?</source>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../bitcoingui.cpp" line="200"/>
|
||||
<source>&Exit</source>
|
||||
<source>E&xit</source>
|
||||
<translation>A&fsluiten</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
|
|
@ -343,7 +343,7 @@ Are you sure you wish to encrypt your wallet?</source>
|
|||
</message>
|
||||
<message>
|
||||
<location filename="../bitcoingui.cpp" line="200"/>
|
||||
<source>&Exit</source>
|
||||
<source>E&xit</source>
|
||||
<translation>Вы&ход</translation>
|
||||
</message>
|
||||
<message>
|
||||
|
|
Loading…
Reference in a new issue