Browse Source

Make "Quit" menu saner

- Use 'x' for Exit shortcut
- Set Ctrl-Q as global quit key sequence
0.8
Wladimir J. van der Laan 13 years ago
parent
commit
d934e7e3dd
  1. 6
      src/qt/bitcoingui.cpp
  2. 2
      src/qt/locale/bitcoin_de.ts
  3. 2
      src/qt/locale/bitcoin_nl.ts
  4. 2
      src/qt/locale/bitcoin_ru.ts

6
src/qt/bitcoingui.cpp

@ -65,9 +65,6 @@ BitcoinGUI::BitcoinGUI(QWidget *parent): @@ -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() @@ -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);

2
src/qt/locale/bitcoin_de.ts

@ -351,7 +351,7 @@ Are you sure you wish to encrypt your wallet?</source> @@ -351,7 +351,7 @@ Are you sure you wish to encrypt your wallet?</source>
</message>
<message>
<location filename="../bitcoingui.cpp" line="200"/>
<source>&amp;Exit</source>
<source>E&amp;xit</source>
<translation>Beenden</translation>
</message>
<message>

2
src/qt/locale/bitcoin_nl.ts

@ -372,7 +372,7 @@ Are you sure you wish to encrypt your wallet?</source> @@ -372,7 +372,7 @@ Are you sure you wish to encrypt your wallet?</source>
</message>
<message>
<location filename="../bitcoingui.cpp" line="200"/>
<source>&amp;Exit</source>
<source>E&amp;xit</source>
<translation>A&amp;fsluiten</translation>
</message>
<message>

2
src/qt/locale/bitcoin_ru.ts

@ -343,7 +343,7 @@ Are you sure you wish to encrypt your wallet?</source> @@ -343,7 +343,7 @@ Are you sure you wish to encrypt your wallet?</source>
</message>
<message>
<location filename="../bitcoingui.cpp" line="200"/>
<source>&amp;Exit</source>
<source>E&amp;xit</source>
<translation>Вы&amp;ход</translation>
</message>
<message>

Loading…
Cancel
Save