UI: theme-dependent icons/images (error fix)
This commit is contained in:
parent
39ac400392
commit
0a036e0bf0
@ -260,7 +260,7 @@ void BitcoinGUI::createActions(const NetworkStyle *networkStyle)
|
|||||||
QActionGroup *tabGroup = new QActionGroup(this);
|
QActionGroup *tabGroup = new QActionGroup(this);
|
||||||
|
|
||||||
QString theme = GUIUtil::getThemeName();
|
QString theme = GUIUtil::getThemeName();
|
||||||
overviewAction = new QAction(QIcon(":/icons/" + theme + "/" + theme + "/overview"), tr("&Overview"), this);
|
overviewAction = new QAction(QIcon(":/icons/" + theme + "/overview"), tr("&Overview"), this);
|
||||||
overviewAction->setStatusTip(tr("Show general overview of wallet"));
|
overviewAction->setStatusTip(tr("Show general overview of wallet"));
|
||||||
overviewAction->setToolTip(overviewAction->statusTip());
|
overviewAction->setToolTip(overviewAction->statusTip());
|
||||||
overviewAction->setCheckable(true);
|
overviewAction->setCheckable(true);
|
||||||
@ -271,7 +271,7 @@ void BitcoinGUI::createActions(const NetworkStyle *networkStyle)
|
|||||||
#endif
|
#endif
|
||||||
tabGroup->addAction(overviewAction);
|
tabGroup->addAction(overviewAction);
|
||||||
|
|
||||||
sendCoinsAction = new QAction(QIcon(":/icons/" + theme + "/" + theme + "/send"), tr("&Send"), this);
|
sendCoinsAction = new QAction(QIcon(":/icons/" + theme + "/send"), tr("&Send"), this);
|
||||||
sendCoinsAction->setStatusTip(tr("Send coins to a Dash address"));
|
sendCoinsAction->setStatusTip(tr("Send coins to a Dash address"));
|
||||||
sendCoinsAction->setToolTip(sendCoinsAction->statusTip());
|
sendCoinsAction->setToolTip(sendCoinsAction->statusTip());
|
||||||
sendCoinsAction->setCheckable(true);
|
sendCoinsAction->setCheckable(true);
|
||||||
@ -282,7 +282,7 @@ void BitcoinGUI::createActions(const NetworkStyle *networkStyle)
|
|||||||
#endif
|
#endif
|
||||||
tabGroup->addAction(sendCoinsAction);
|
tabGroup->addAction(sendCoinsAction);
|
||||||
|
|
||||||
receiveCoinsAction = new QAction(QIcon(":/icons/" + theme + "/" + theme + "/receiving_addresses"), tr("&Receive"), this);
|
receiveCoinsAction = new QAction(QIcon(":/icons/" + theme + "/receiving_addresses"), tr("&Receive"), this);
|
||||||
receiveCoinsAction->setStatusTip(tr("Request payments (generates QR codes and dash: URIs)"));
|
receiveCoinsAction->setStatusTip(tr("Request payments (generates QR codes and dash: URIs)"));
|
||||||
receiveCoinsAction->setToolTip(receiveCoinsAction->statusTip());
|
receiveCoinsAction->setToolTip(receiveCoinsAction->statusTip());
|
||||||
receiveCoinsAction->setCheckable(true);
|
receiveCoinsAction->setCheckable(true);
|
||||||
@ -293,7 +293,7 @@ void BitcoinGUI::createActions(const NetworkStyle *networkStyle)
|
|||||||
#endif
|
#endif
|
||||||
tabGroup->addAction(receiveCoinsAction);
|
tabGroup->addAction(receiveCoinsAction);
|
||||||
|
|
||||||
historyAction = new QAction(QIcon(":/icons/" + theme + "/" + theme + "/history"), tr("&Transactions"), this);
|
historyAction = new QAction(QIcon(":/icons/" + theme + "/history"), tr("&Transactions"), this);
|
||||||
historyAction->setStatusTip(tr("Browse transaction history"));
|
historyAction->setStatusTip(tr("Browse transaction history"));
|
||||||
historyAction->setToolTip(historyAction->statusTip());
|
historyAction->setToolTip(historyAction->statusTip());
|
||||||
historyAction->setCheckable(true);
|
historyAction->setCheckable(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user