Skip to content

Commit

Permalink
Merge pull request #476 from mitchellcash/fix_icons
Browse files Browse the repository at this point in the history
Update the Paycoin GUI to use the correct icons
  • Loading branch information
scroogemcdev committed Feb 22, 2016
2 parents 285a4a0 + 10b873e commit 8d4323c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/qt/bitcoingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
resize(850, 550);
setWindowTitle(tr("Paycoin") + " - " + tr("Wallet"));
#ifndef Q_OS_MAC
setWindowIcon(QIcon(":icons/paycoin_icon"));
setWindowIcon(QIcon(":icons/paycoin"));
#else
setUnifiedTitleAndToolBarOnMac(true);
QApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
Expand Down Expand Up @@ -266,7 +266,7 @@ void BitcoinGUI::createActions()
quitAction->setToolTip(tr("Quit application"));
quitAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q));
quitAction->setMenuRole(QAction::QuitRole);
aboutAction = new QAction(QIcon(":/icons/paycoin_tooltip"), tr("&About Paycoin"), this);
aboutAction = new QAction(QIcon(":/icons/paycoin"), tr("&About Paycoin"), this);
aboutAction->setToolTip(tr("Show information about Paycoin"));
aboutAction->setMenuRole(QAction::AboutRole);
aboutQtAction = new QAction(QIcon(":/trolltech/qmessagebox/images/qtlogo-64.png"), tr("About &Qt"), this);
Expand All @@ -275,7 +275,7 @@ void BitcoinGUI::createActions()
optionsAction = new QAction(QIcon(":/icons/options"), tr("&Options..."), this);
optionsAction->setToolTip(tr("Modify configuration options for Paycoin"));
optionsAction->setMenuRole(QAction::PreferencesRole);
toggleHideAction = new QAction(QIcon(":/icons/paycoin_tooltip"), tr("Show/Hide &Paycoin"), this);
toggleHideAction = new QAction(QIcon(":/icons/paycoin"), tr("Show/Hide &Paycoin"), this);
toggleHideAction->setToolTip(tr("Show or hide the Paycoin window"));
exportAction = new QAction(QIcon(":/icons/export"), tr("&Export..."), this);
exportAction->setToolTip(tr("Export the data in the current tab to a file"));
Expand Down Expand Up @@ -371,14 +371,14 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
QString title_testnet = windowTitle() + QString(" ") + tr("[testnet]");
setWindowTitle(title_testnet);
#ifndef Q_OS_MAC
setWindowIcon(QIcon(":icons/paycoin_icon"));
setWindowIcon(QIcon(":icons/paycoin_testnet"));
#else
MacDockIconHandler::instance()->setIcon(QIcon(":icons/paycoin_icon"));
MacDockIconHandler::instance()->setIcon(QIcon(":icons/paycoin_testnet"));
#endif
if(trayIcon)
{
trayIcon->setToolTip(title_testnet);
trayIcon->setIcon(QIcon(":/icons/paycoin_tooltip"));
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
}
}

Expand Down Expand Up @@ -435,7 +435,7 @@ void BitcoinGUI::createTrayIcon()
trayIconMenu = new QMenu(this);
trayIcon->setContextMenu(trayIconMenu);
trayIcon->setToolTip(tr("Paycoin client"));
trayIcon->setIcon(QIcon(":/icons/paycoin_tooltip"));
trayIcon->setIcon(QIcon(":/icons/toolbar"));
connect(trayIcon, SIGNAL(activated(QSystemTrayIcon::ActivationReason)),
this, SLOT(trayIconActivated(QSystemTrayIcon::ActivationReason)));
trayIcon->show();
Expand Down

0 comments on commit 8d4323c

Please sign in to comment.