Browse Source

Merge pull request #1259 from Diapolo/GUI_testnet_UX

GUI: allow easier use of the testnet icon
0.8
Wladimir J. van der Laan 13 years ago
parent
commit
23f59e7023
  1. 2
      src/qt/bitcoingui.cpp

2
src/qt/bitcoingui.cpp

@ -71,6 +71,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent): @@ -71,6 +71,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
resize(850, 550);
setWindowTitle(tr("Bitcoin Wallet"));
#ifndef Q_WS_MAC
qApp->setWindowIcon(QIcon(":icons/bitcoin"));
setWindowIcon(QIcon(":icons/bitcoin"));
#else
setUnifiedTitleAndToolBarOnMac(true);
@ -326,6 +327,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel) @@ -326,6 +327,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
{
setWindowTitle(windowTitle() + QString(" ") + tr("[testnet]"));
#ifndef Q_WS_MAC
qApp->setWindowIcon(QIcon(":icons/bitcoin_testnet"));
setWindowIcon(QIcon(":icons/bitcoin_testnet"));
#else
MacDockIconHandler::instance()->setIcon(QIcon(":icons/bitcoin_testnet"));

Loading…
Cancel
Save