Mercurial > hg > bitcoin
changeset 2484:2ccc3ae72973 draft
add calls to qApp->setWindowIcon(), to remove the need to set window icons for testnet with additional calls
author | Philip Kaufmann <phil.kaufmann@t-online.de> |
---|---|
date | Fri, 11 May 2012 12:35:17 +0200 |
parents | 38085276fbd8 |
children | c98c94ebc96f |
files | src/qt/bitcoingui.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -71,6 +71,7 @@ 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 @@ { 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"));