From ab787e997c927bf8e2684b2e1ac667a57f225102 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 24 Nov 2018 04:18:20 +0100 Subject: 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. --- shemov.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shemov.cpp') 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("%1 (%2)").arg(selectedSize).arg(freeSize); + val = QString("%2 (%3)").arg(QColor(Qt::green).name()).arg(selectedSize).arg(freeSize); }else{ - val = QString("%1 (%2)").arg(selectedSize).arg(freeSize); + val = QString("%2 (%3)").arg(QColor(Qt::red).name()).arg(selectedSize).arg(freeSize); } mSelectedSize->setText(val); } -- cgit v1.2.3-70-g09d2