diff options
| author | Philip Kaufmann <[email protected]> | 2012-07-13 08:46:09 +0200 |
|---|---|---|
| committer | Philip Kaufmann <[email protected]> | 2012-07-13 08:48:24 +0200 |
| commit | 56d673675de9025cc96cefa7f9da83ade515c012 (patch) | |
| tree | 514df65d8acefede72dfb55a3d00bcb674cbf1cc /src | |
| parent | Bug fix: sendrawtransaction was not relaying properly (diff) | |
| download | discoin-56d673675de9025cc96cefa7f9da83ade515c012.tar.xz discoin-56d673675de9025cc96cefa7f9da83ade515c012.zip | |
when on testnet, set testnet icon for about dialog
- add a comment
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 53401b376..5413daf96 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 |