diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-07-13 08:46:09 +0200 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2012-07-22 21:18:48 +0000 |
commit | bb583e3c11aa630726bf57f21f10d60c85dbca47 (patch) | |
tree | e03e2668bac7bda86a4b2fd177436710c7b2ebd4 | |
parent | f1830a9a225d475fd566622c7f4f847e387e3b12 (diff) | |
download | bitcoin-bb583e3c11aa630726bf57f21f10d60c85dbca47.tar.xz |
when on testnet, set testnet icon for about dialog
- add a comment
-rw-r--r-- | src/qt/bitcoingui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 2c807a1ae4..c36dd216d4 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -285,6 +285,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel) this->clientModel = clientModel; if(clientModel) { + // Replace some strings and icons, when using the testnet if(clientModel->isTestNet()) { QString title_testnet = windowTitle() + QString(" ") + tr("[testnet]"); @@ -299,6 +300,8 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel) trayIcon->setToolTip(title_testnet); trayIcon->setIcon(QIcon(":/icons/toolbar_testnet")); } + + aboutAction->setIcon(QIcon(":/icons/toolbar_testnet")); } // Keep up to date with client |