diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-07-13 08:46:09 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-07-13 08:48:24 +0200 |
commit | 56d673675de9025cc96cefa7f9da83ade515c012 (patch) | |
tree | 514df65d8acefede72dfb55a3d00bcb674cbf1cc /src/qt/bitcoingui.cpp | |
parent | 771ffb5e28a75bf2a99283b3a9c7c40dc0f7907d (diff) |
when on testnet, set testnet icon for about dialog
- add a comment
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-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 53401b376f..5413daf968 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -345,6 +345,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel) this->clientModel = clientModel; if(clientModel) { + // Replace some strings and icons, when using the testnet if(clientModel->isTestNet()) { setWindowTitle(windowTitle() + QString(" ") + tr("[testnet]")); @@ -360,6 +361,8 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel) trayIcon->setIcon(QIcon(":/icons/toolbar_testnet")); toggleHideAction->setIcon(QIcon(":/icons/toolbar_testnet")); } + + aboutAction->setIcon(QIcon(":/icons/toolbar_testnet")); } // Keep up to date with client |