mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-21 15:50:07 +01:00
when on testnet, set testnet icon for about dialog
- add a comment
This commit is contained in:
committed by
Luke Dashjr
parent
f1830a9a22
commit
bb583e3c11
@@ -285,6 +285,7 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
|
||||
this->clientModel = clientModel;
|
||||
if(clientModel)
|
||||
{
|
||||
// Replace some strings and icons, when using the testnet
|
||||
if(clientModel->isTestNet())
|
||||
{
|
||||
QString title_testnet = windowTitle() + QString(" ") + tr("[testnet]");
|
||||
@@ -299,6 +300,8 @@ void BitcoinGUI::setClientModel(ClientModel *clientModel)
|
||||
trayIcon->setToolTip(title_testnet);
|
||||
trayIcon->setIcon(QIcon(":/icons/toolbar_testnet"));
|
||||
}
|
||||
|
||||
aboutAction->setIcon(QIcon(":/icons/toolbar_testnet"));
|
||||
}
|
||||
|
||||
// Keep up to date with client
|
||||
|
||||
Reference in New Issue
Block a user