aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-06-17 17:47:40 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-06-17 17:47:40 +0200
commit89c94b5578e1882f3fd4bfadc9e39b436579563e (patch)
treef8b1a6a0dc6ac3c695d375be35b1ba726c127d04 /src/qt/bitcoingui.cpp
parent8c69f1fb25b91e447324ea7e3e80c5c497cbda01 (diff)
better icons for confirmations
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r--src/qt/bitcoingui.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index b45a4f9f91..4e9a021351 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -348,11 +348,11 @@ void BitcoinGUI::setNumConnections(int count)
QString icon;
switch(count)
{
- case 0: icon = ":/icons/connect0"; 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;
+ case 0: icon = ":/icons/connect_0"; break;
+ case 1: case 2: case 3: icon = ":/icons/connect_1"; break;
+ case 4: case 5: case 6: icon = ":/icons/connect_2"; break;
+ case 7: case 8: case 9: icon = ":/icons/connect_3"; break;
+ default: icon = ":/icons/connect_4"; break;
}
labelConnections->setTextFormat(Qt::RichText);
labelConnections->setText("<img src=\""+icon+"\"> " + QLocale::system().toString(count)+" "+tr("connection(s)", "", count));