From 8bfdc9acaadea086d19fabbf838ddd4c9e313a05 Mon Sep 17 00:00:00 2001 From: ntrgn Date: Mon, 11 Aug 2014 18:46:57 +0200 Subject: qt: better looking trayicon Github-Pull: #4678 Rebased-By: Wladimir J. van der Laan --- src/qt/bitcoin.qrc | 2 -- src/qt/bitcoingui.cpp | 4 ++-- src/qt/res/icons/toolbar.png | Bin 815 -> 0 bytes src/qt/res/icons/toolbar_testnet.png | Bin 678 -> 0 bytes 4 files changed, 2 insertions(+), 4 deletions(-) delete mode 100644 src/qt/res/icons/toolbar.png delete mode 100644 src/qt/res/icons/toolbar_testnet.png (limited to 'src/qt') diff --git a/src/qt/bitcoin.qrc b/src/qt/bitcoin.qrc index 357c6470d3..6dba62035b 100644 --- a/src/qt/bitcoin.qrc +++ b/src/qt/bitcoin.qrc @@ -4,7 +4,6 @@ res/icons/address-book.png res/icons/quit.png res/icons/send.png - res/icons/toolbar.png res/icons/connect0_16.png res/icons/connect1_16.png res/icons/connect2_16.png @@ -24,7 +23,6 @@ res/icons/editcopy.png res/icons/add.png res/icons/bitcoin_testnet.png - res/icons/toolbar_testnet.png res/icons/edit.png res/icons/history.png res/icons/overview.png diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index e3257e859c..bfca5e8d1a 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -479,12 +479,12 @@ void BitcoinGUI::createTrayIcon(bool fIsTestnet) if (!fIsTestnet) { trayIcon->setToolTip(tr("Bitcoin Core client")); - trayIcon->setIcon(QIcon(":/icons/toolbar")); + trayIcon->setIcon(QIcon(":/icons/bitcoin")); } else { trayIcon->setToolTip(tr("Bitcoin Core client") + " " + tr("[testnet]")); - trayIcon->setIcon(QIcon(":/icons/toolbar_testnet")); + trayIcon->setIcon(QIcon(":/icons/bitcoin_testnet")); } trayIcon->show(); diff --git a/src/qt/res/icons/toolbar.png b/src/qt/res/icons/toolbar.png deleted file mode 100644 index c82d96519c..0000000000 Binary files a/src/qt/res/icons/toolbar.png and /dev/null differ diff --git a/src/qt/res/icons/toolbar_testnet.png b/src/qt/res/icons/toolbar_testnet.png deleted file mode 100644 index 5995bc0667..0000000000 Binary files a/src/qt/res/icons/toolbar_testnet.png and /dev/null differ -- cgit v1.2.3