Try to improve status arrows a bit

This commit is contained in:
Sky 2014-01-19 01:33:32 +00:00
parent e71295d760
commit e6ab57b8b1

View File

@ -522,10 +522,13 @@ void MainWindow::updateNewsLabel()
static QString convertStatus(const QString &status) static QString convertStatus(const QString &status)
{ {
if(status == "green") return ""; QString ret = "?";
else if(status == "yellow") return "-";
else if(status == "red") return ""; if(status == "green") ret = "";
else return "?"; else if(status == "yellow") ret = "-";
else if(status == "red") ret="";
return "<span style=\"font-size:11pt; font-weight:600;\">" + ret + "</span>";
} }
void MainWindow::reloadStatus() void MainWindow::reloadStatus()