mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-16 18:39:18 +00:00
when on testnet, set testnet icon for about dialog
- add a comment
This commit is contained in:
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user