diff options
| author | Wladimir J. van der Laan <[email protected]> | 2012-07-14 02:06:51 -0700 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2012-07-14 02:06:51 -0700 |
| commit | 07f1bb0d60000d56012c59ebdd701601734245d2 (patch) | |
| tree | 3a8fe782dd85c6346bb613ba27718f32bf6e59c1 /src | |
| parent | Merge pull request #1595 from fanquake/master (diff) | |
| parent | when on testnet, set testnet icon for about dialog (diff) | |
| download | discoin-07f1bb0d60000d56012c59ebdd701601734245d2.tar.xz discoin-07f1bb0d60000d56012c59ebdd701601734245d2.zip | |
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 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 |