From 944ff256b2d9e271632efacd6e8dd1ea542e869f Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sun, 15 Jan 2017 22:56:03 +0100 Subject: NOISSUE add hack for system themes. Maybe it works? --- application/themes/CustomTheme.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'application/themes/CustomTheme.cpp') diff --git a/application/themes/CustomTheme.cpp b/application/themes/CustomTheme.cpp index 70d55211..a6c7bf8c 100644 --- a/application/themes/CustomTheme.cpp +++ b/application/themes/CustomTheme.cpp @@ -208,11 +208,21 @@ QString CustomTheme::name() return m_name; } +bool CustomTheme::hasColorScheme() +{ + return true; +} + QPalette CustomTheme::colorScheme() { return m_palette; } +bool CustomTheme::hasStyleSheet() +{ + return true; +} + QString CustomTheme::appStyleSheet() { return m_styleSheet; -- cgit