diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-06-16 09:08:57 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-06-16 09:10:05 +0200 |
| commit | 8c69f1fb25b91e447324ea7e3e80c5c497cbda01 (patch) | |
| tree | b32eb1a528be73be1f0e0a38c79dc196d5077e8c /src/qt | |
| parent | add attribution for icons (diff) | |
| download | discoin-8c69f1fb25b91e447324ea7e3e80c5c497cbda01.tar.xz discoin-8c69f1fb25b91e447324ea7e3e80c5c497cbda01.zip | |
show connection meter "full" only at 10+ connections
Diffstat (limited to 'src/qt')
| -rw-r--r-- | src/qt/bitcoingui.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 96afa41aa..b45a4f9f9 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -349,9 +349,9 @@ void BitcoinGUI::setNumConnections(int count) switch(count) { case 0: icon = ":/icons/connect0"; break; - case 1: icon = ":/icons/connect1"; break; - case 2: icon = ":/icons/connect2"; break; - case 3: icon = ":/icons/connect3"; break; + case 1: case 2: icon = ":/icons/connect1"; break; + case 3: case 4: icon = ":/icons/connect2"; break; + case 5: case 6: icon = ":/icons/connect3"; break; default: icon = ":/icons/connect4"; break; } labelConnections->setTextFormat(Qt::RichText); |