changeset 3199:6d3c73a7c883 draft

when on testnet, set testnet icon for about dialog - add a comment
author Philip Kaufmann <phil.kaufmann@t-online.de>
date Fri, 13 Jul 2012 08:46:09 +0200
parents b63a5263d11a
children 4fcbfa626aa4
files src/qt/bitcoingui.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -345,6 +345,7 @@
     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 @@
                 trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
                 toggleHideAction->setIcon(QIcon(":/icons/toolbar_testnet"));
             }
+
+            aboutAction->setIcon(QIcon(":/icons/toolbar_testnet"));
         }
 
         // Keep up to date with client