summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2014-01-19 01:33:32 +0000
committerSky <git@bunnies.cc>2014-01-19 01:33:32 +0000
commite6ab57b8b1275137d873c0c465aeffe61c13c324 (patch)
tree11637f1846de39a72446f605a5009120895901ff /gui
parente71295d7606a8fba95639051246b3c238148d0e2 (diff)
downloadMultiMC-e6ab57b8b1275137d873c0c465aeffe61c13c324.tar
MultiMC-e6ab57b8b1275137d873c0c465aeffe61c13c324.tar.gz
MultiMC-e6ab57b8b1275137d873c0c465aeffe61c13c324.tar.lz
MultiMC-e6ab57b8b1275137d873c0c465aeffe61c13c324.tar.xz
MultiMC-e6ab57b8b1275137d873c0c465aeffe61c13c324.zip
Try to improve status arrows a bit
Diffstat (limited to 'gui')
-rw-r--r--gui/MainWindow.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp
index d5cc1d44..cca1ecac 100644
--- a/gui/MainWindow.cpp
+++ b/gui/MainWindow.cpp
@@ -522,10 +522,13 @@ void MainWindow::updateNewsLabel()
static QString convertStatus(const QString &status)
{
- if(status == "green") return "↑";
- else if(status == "yellow") return "-";
- else if(status == "red") return "↓";
- else return "?";
+ QString ret = "?";
+
+ if(status == "green") ret = "↑";
+ else if(status == "yellow") ret = "-";
+ else if(status == "red") ret="↓";
+
+ return "<span style=\"font-size:11pt; font-weight:600;\">" + ret + "</span>";
}
void MainWindow::reloadStatus()