diff options
author | Arno <arno@disconnect.de> | 2018-11-24 04:18:20 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-11-24 04:18:20 +0100 |
commit | ab787e997c927bf8e2684b2e1ac667a57f225102 (patch) | |
tree | 2f1998924f19535bccbaec5d59ae8e753ee29ae3 /shemov.cpp | |
parent | 92ada0efad9f0b0a3263e4245cfd1441f4b9f7a9 (diff) | |
download | SheMov-ab787e997c927bf8e2684b2e1ac667a57f225102.tar.gz SheMov-ab787e997c927bf8e2684b2e1ac667a57f225102.tar.bz2 SheMov-ab787e997c927bf8e2684b2e1ac667a57f225102.zip |
Dark theme GUI changes
Add icons better suited for dark themes and don't draw an ellipse around
the letter when calling Helper::icon and use the theme's text color to
better match the desktop theme.
Just be a good tenant and respect the user's choices where applicable.
Diffstat (limited to 'shemov.cpp')
-rw-r--r-- | shemov.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |