diff options
author | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-05-11 12:35:17 +0200 |
---|---|---|
committer | Philip Kaufmann <phil.kaufmann@t-online.de> | 2012-05-11 15:31:44 +0200 |
commit | 37244c2f7f957de4aa496b9315aee3454a4786f6 (patch) | |
tree | 563cf2037847c9339c35c69794070a1f8255326b /src | |
parent | a8fef7f5698ccd5a582b29b7baa956739d287ee2 (diff) |
add calls to qApp->setWindowIcon(), to remove the need to set window icons for testnet with additional calls
Diffstat (limited to 'src')
-rw-r--r-- | src/qt/bitcoingui.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 55672472ec..40ab4acc77 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -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) { 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")); |