diff options
| author | Philip Kaufmann <[email protected]> | 2012-07-13 08:46:09 +0200 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2012-07-22 21:18:48 +0000 |
| commit | bb583e3c11aa630726bf57f21f10d60c85dbca47 (patch) | |
| tree | e03e2668bac7bda86a4b2fd177436710c7b2ebd4 | |
| parent | Merge branch '0.4.x' into 0.5.x (diff) | |
| download | discoin-bb583e3c11aa630726bf57f21f10d60c85dbca47.tar.xz discoin-bb583e3c11aa630726bf57f21f10d60c85dbca47.zip | |
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 2c807a1ae..c36dd216d 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 |