mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-12 08:08:25 +00:00
show connection meter "full" only at 10+ connections
This commit is contained in:
parent
aec8763a8e
commit
8c69f1fb25
@ -349,9 +349,9 @@ void BitcoinGUI::setNumConnections(int count)
|
|||||||
switch(count)
|
switch(count)
|
||||||
{
|
{
|
||||||
case 0: icon = ":/icons/connect0"; break;
|
case 0: icon = ":/icons/connect0"; break;
|
||||||
case 1: icon = ":/icons/connect1"; break;
|
case 1: case 2: icon = ":/icons/connect1"; break;
|
||||||
case 2: icon = ":/icons/connect2"; break;
|
case 3: case 4: icon = ":/icons/connect2"; break;
|
||||||
case 3: icon = ":/icons/connect3"; break;
|
case 5: case 6: icon = ":/icons/connect3"; break;
|
||||||
default: icon = ":/icons/connect4"; break;
|
default: icon = ":/icons/connect4"; break;
|
||||||
}
|
}
|
||||||
labelConnections->setTextFormat(Qt::RichText);
|
labelConnections->setTextFormat(Qt::RichText);
|
||||||
|
Loading…
Reference in New Issue
Block a user