Merge pull request #1593 from Diapolo/testnet_icon_about
when on testnet, set testnet icon for about dialog
This commit is contained in:
commit
07f1bb0d60
1 changed files with 3 additions and 0 deletions
|
@ -345,6 +345,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
|
|||
this->clientModel = clientModel;
|
||||
if(clientModel)
|
||||
{
|
||||
// Replace some strings and icons, when using the testnet
|
||||
if(clientModel->isTestNet())
|
||||
{
|
||||
setWindowTitle(windowTitle() + QString(" ") + tr("[testnet]"));
|
||||
|
@ -360,6 +361,8 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
|
|||
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
|
||||
toggleHideAction->setIcon(QIcon(":/icons/toolbar_testnet"));
|
||||
}
|
||||
|
||||
aboutAction->setIcon(QIcon(":/icons/toolbar_testnet"));
|
||||
}
|
||||
|
||||
// Keep up to date with client
|
||||
|
|
Loading…
Reference in a new issue