diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-01-15 22:56:03 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-01-15 22:56:03 +0100 |
commit | 944ff256b2d9e271632efacd6e8dd1ea542e869f (patch) | |
tree | af7fc0041d8cc28d86577c9ffa6fc438a21b9a0b /application/themes/CustomTheme.cpp | |
parent | 71584fb8ccda914997f11044e819470d93cc3561 (diff) | |
download | PrismLauncher-944ff256b2d9e271632efacd6e8dd1ea542e869f.tar.gz PrismLauncher-944ff256b2d9e271632efacd6e8dd1ea542e869f.tar.bz2 PrismLauncher-944ff256b2d9e271632efacd6e8dd1ea542e869f.zip |
NOISSUE add hack for system themes. Maybe it works?
Diffstat (limited to 'application/themes/CustomTheme.cpp')
-rw-r--r-- | application/themes/CustomTheme.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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; |