diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-07-14 02:06:51 -0700 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2012-07-14 02:06:51 -0700 |
commit | 07f1bb0d60000d56012c59ebdd701601734245d2 (patch) | |
tree | 3a8fe782dd85c6346bb613ba27718f32bf6e59c1 /src | |
parent | 1290914b37fec06eebc891809669bbf636b7e7dd (diff) | |
parent | 56d673675de9025cc96cefa7f9da83ade515c012 (diff) | |
download | bitcoin-07f1bb0d60000d56012c59ebdd701601734245d2.tar.xz |
Merge pull request #1593 from Diapolo/testnet_icon_about
when on testnet, set testnet icon for about dialog
Diffstat (limited to 'src')
-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 |