add [testnet] to whatever the current window title is

This commit is contained in:
Wladimir J. van der Laan 2011-07-07 18:38:37 +02:00
parent a7e506d698
commit 0002bdddfa

View File

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