Browse Source

Merge pull request #1239 from Diapolo/testnet_GUI

GUI changes while on testnet
0.8
Wladimir J. van der Laan 13 years ago
parent
commit
037a8daee6
  1. 6
      src/qt/bitcoingui.cpp

6
src/qt/bitcoingui.cpp

@ -324,8 +324,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
{ {
if(clientModel->isTestNet()) if(clientModel->isTestNet())
{ {
QString title_testnet = windowTitle() + QString(" ") + tr("[testnet]"); setWindowTitle(windowTitle() + QString(" ") + tr("[testnet]"));
setWindowTitle(title_testnet);
#ifndef Q_WS_MAC #ifndef Q_WS_MAC
setWindowIcon(QIcon(":icons/bitcoin_testnet")); setWindowIcon(QIcon(":icons/bitcoin_testnet"));
#else #else
@ -333,8 +332,9 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
#endif #endif
if(trayIcon) if(trayIcon)
{ {
trayIcon->setToolTip(title_testnet); trayIcon->setToolTip(tr("Bitcoin client") + QString(" ") + tr("[testnet]"));
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet")); trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
toggleHideAction->setIcon(QIcon(":/icons/toolbar_testnet"));
} }
} }

Loading…
Cancel
Save