From 944ff256b2d9e271632efacd6e8dd1ea542e869f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 15 Jan 2017 22:56:03 +0100 Subject: NOISSUE add hack for system themes. Maybe it works? --- application/themes/BrightTheme.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'application/themes/BrightTheme.cpp') diff --git a/application/themes/BrightTheme.cpp b/application/themes/BrightTheme.cpp index a7cfa010..2763c982 100644 --- a/application/themes/BrightTheme.cpp +++ b/application/themes/BrightTheme.cpp @@ -10,6 +10,11 @@ QString BrightTheme::name() return QObject::tr("Bright"); } +bool BrightTheme::hasColorScheme() +{ + return true; +} + QPalette BrightTheme::colorScheme() { QPalette brightPalette; @@ -39,6 +44,11 @@ QColor BrightTheme::fadeColor() return QColor(239,240,241); } +bool BrightTheme::hasStyleSheet() +{ + return false; +} + QString BrightTheme::appStyleSheet() { return QString(); -- cgit v1.2.3