aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qt/bitcoingui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index 96afa41aa9..b45a4f9f91 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);