diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-10-09 21:06:28 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2011-10-09 21:06:28 +0200 |
commit | d934e7e3ddd7d919e58f76705439cdb15c745951 (patch) | |
tree | 4628e156de28a924e2e552f48e1db4997f0e15a1 | |
parent | 8828da5f56313855e19f463ff1c09196812b997b (diff) |
Make "Quit" menu saner
- Use 'x' for Exit shortcut
- Set Ctrl-Q as global quit key sequence
-rw-r--r-- | src/qt/bitcoingui.cpp | 6 | ||||
-rw-r--r-- | src/qt/locale/bitcoin_de.ts | 2 | ||||
-rw-r--r-- | src/qt/locale/bitcoin_nl.ts | 2 | ||||
-rw-r--r-- | src/qt/locale/bitcoin_ru.ts | 2 |
4 files changed, 5 insertions, 7 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index be10b97c0f..25261c780f 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -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); diff --git a/src/qt/locale/bitcoin_de.ts b/src/qt/locale/bitcoin_de.ts index ba2e25d62f..c674eb439b 100644 --- a/src/qt/locale/bitcoin_de.ts +++ b/src/qt/locale/bitcoin_de.ts @@ -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> diff --git a/src/qt/locale/bitcoin_nl.ts b/src/qt/locale/bitcoin_nl.ts index 9940e90e18..a7ea7e666a 100644 --- a/src/qt/locale/bitcoin_nl.ts +++ b/src/qt/locale/bitcoin_nl.ts @@ -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> diff --git a/src/qt/locale/bitcoin_ru.ts b/src/qt/locale/bitcoin_ru.ts index ea32d95607..b6127959fb 100644 --- a/src/qt/locale/bitcoin_ru.ts +++ b/src/qt/locale/bitcoin_ru.ts @@ -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> |