aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-05-09 22:42:58 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-05-09 22:42:58 -0700
commit037a8daee68907b6258c2421a6f0d7265cd1b3ad (patch)
tree24b289bf5462607e698f3c4088b8f2a8cff4974a /src/qt
parenta2de039ec44585538a470d0c0be46d5cb1e0d543 (diff)
parent2abbe5fc88f3197c32c8d3049bc2e271faf28e41 (diff)
Merge pull request #1239 from Diapolo/testnet_GUI
GUI changes while on testnet
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoingui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index f750d29cd1..c2fcc10b77 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -324,8 +324,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
{
if(clientModel->isTestNet())
{
- QString title_testnet = windowTitle() + QString(" ") + tr("[testnet]");
- setWindowTitle(title_testnet);
+ setWindowTitle(windowTitle() + QString(" ") + tr("[testnet]"));
#ifndef Q_WS_MAC
setWindowIcon(QIcon(":icons/bitcoin_testnet"));
#else
@@ -333,8 +332,9 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
#endif
if(trayIcon)
{
- trayIcon->setToolTip(title_testnet);
+ trayIcon->setToolTip(tr("Bitcoin client") + QString(" ") + tr("[testnet]"));
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
+ toggleHideAction->setIcon(QIcon(":/icons/toolbar_testnet"));
}
}