summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 583e008..86d500a 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -298,9 +298,9 @@ void SheMov::setSize(qint64 size){
QString selectedSize = l.toString(size);
QString freeSize = l.toString(free);
if(size < DVDSIZE){
- val = QString("<span style=\"color:#008000\">%1 (%2)</span>").arg(selectedSize).arg(freeSize);
+ val = QString("<span style=\"color:%1\">%2 (%3)</span>").arg(QColor(Qt::green).name()).arg(selectedSize).arg(freeSize);
}else{
- val = QString("<span style=\"color:#ff0000\">%1 (%2)</span>").arg(selectedSize).arg(freeSize);
+ val = QString("<span style=\"color:%1\">%2 (%3)</span>").arg(QColor(Qt::red).name()).arg(selectedSize).arg(freeSize);
}
mSelectedSize->setText(val);
}