aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-07-14 02:06:51 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-07-14 02:06:51 -0700
commit07f1bb0d60000d56012c59ebdd701601734245d2 (patch)
tree3a8fe782dd85c6346bb613ba27718f32bf6e59c1 /src/qt
parent1290914b37fec06eebc891809669bbf636b7e7dd (diff)
parent56d673675de9025cc96cefa7f9da83ade515c012 (diff)
Merge pull request #1593 from Diapolo/testnet_icon_about
when on testnet, set testnet icon for about dialog
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoingui.cpp3
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