Browse Source

add [testnet] to whatever the current window title is

miguelfreitas
Wladimir J. van der Laan 14 years ago
parent
commit
0002bdddfa
  1. 2
      src/qt/bitcoingui.cpp

2
src/qt/bitcoingui.cpp

@ -190,7 +190,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
if(clientModel->isTestNet()) if(clientModel->isTestNet())
{ {
QString title_testnet = tr("Bitcoin Wallet [testnet]"); QString title_testnet = windowTitle() + QString(" ") + tr("[testnet]");
setWindowTitle(title_testnet); setWindowTitle(title_testnet);
setWindowIcon(QIcon(":icons/bitcoin_testnet")); setWindowIcon(QIcon(":icons/bitcoin_testnet"));
if(trayIcon) if(trayIcon)

Loading…
Cancel
Save