Try to improve status arrows a bit
This commit is contained in:
parent
e71295d760
commit
e6ab57b8b1
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user