aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-10-08 12:27:57 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-10-08 12:27:57 +0200
commitc7b1d6bbc76b6d9ff8727416f0d2cce0c0141b22 (patch)
treeee4236f755b55a66f39d6d45356dd823f2ff6e58 /src/qt
parentadae2f1819f536ab3e39bb2b4ae3ee772447eb79 (diff)
Bitcoin-Qt: ensure Qt icon is shown with Qt >= 5.0
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/bitcoingui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 66b0d6ace0..23a221120f 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -235,7 +235,11 @@ void BitcoinGUI::createActions(bool fIsTestnet)
aboutAction = new QAction(QIcon(":/icons/bitcoin_testnet"), tr("&About Bitcoin"), this);
aboutAction->setStatusTip(tr("Show information about Bitcoin"));
aboutAction->setMenuRole(QAction::AboutRole);
+#if QT_VERSION < 0x050000
aboutQtAction = new QAction(QIcon(":/trolltech/qmessagebox/images/qtlogo-64.png"), tr("About &Qt"), this);
+#else
+ aboutQtAction = new QAction(QIcon(":/qt-project.org/qmessagebox/images/qtlogo-64.png"), tr("About &Qt"), this);
+#endif
aboutQtAction->setStatusTip(tr("Show information about Qt"));
aboutQtAction->setMenuRole(QAction::AboutQtRole);
optionsAction = new QAction(QIcon(":/icons/options"), tr("&Options..."), this);