Skip to content

Commit

Permalink
Show testnet icon for tray-menu option Show/Hide / set tooltip for tr…
Browse files Browse the repository at this point in the history
…ay icon to match non-testnet text (just [testnet] added) / remove obsolete title_testnet variable
  • Loading branch information
MitchellCash committed Feb 24, 2016
1 parent e1f2e07 commit 4d0a9b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -368,17 +368,17 @@ 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_OS_MAC
setWindowIcon(QIcon(":icons/paycoin_testnet"));
#else
MacDockIconHandler::instance()->setIcon(QIcon(":icons/paycoin_testnet"));
#endif
if(trayIcon)
{
trayIcon->setToolTip(title_testnet);
trayIcon->setToolTip(tr("Paycoin client") + QString(" ") + tr("[testnet]"));
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
toggleHideAction->setIcon(QIcon(":/icons/toolbar_testnet"));
}
}

Expand Down

0 comments on commit 4d0a9b6

Please sign in to comment.