Merge pull request #46 from fsb4000/patch-1
authorCryptoManiac <CryptoManiac@users.noreply.github.com>
Tue, 11 Nov 2014 22:55:17 +0000 (01:55 +0300)
committerCryptoManiac <CryptoManiac@users.noreply.github.com>
Tue, 11 Nov 2014 22:55:17 +0000 (01:55 +0300)
missing "About Qt" icon

src/qt/bitcoingui.cpp

index 45e2c4c..d7bc458 100644 (file)
@@ -258,7 +258,11 @@ void BitcoinGUI::createActions()
     aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About NovaCoin"), this);
     aboutAction->setToolTip(tr("Show information about NovaCoin"));
     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->setToolTip(tr("Show information about Qt"));
     aboutQtAction->setMenuRole(QAction::AboutQtRole);
     optionsAction = new QAction(QIcon(":/icons/options"), tr("&Options..."), this);