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. --- helper.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'helper.cpp') diff --git a/helper.cpp b/helper.cpp index 02b3fac..bfff932 100644 --- a/helper.cpp +++ b/helper.cpp @@ -460,8 +460,9 @@ namespace Helper { p->setRenderHint(QPainter::Antialiasing); p->setRenderHint(QPainter::TextAntialiasing); p->setRenderHint(QPainter::SmoothPixmapTransform); - QFont f("Monospace"); - f.setPixelSize(30); + //QFont f("Monospace"); + QFont f(qApp->font()); + f.setPixelSize(28); f.setBold(bold); p->setPen(fg); if(drawEllipse){ -- cgit v1.2.3-70-g09d2