summaryrefslogtreecommitdiffstats
path: root/application/themes/CustomTheme.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2017-01-15 22:56:03 +0100
committerPetr Mrázek <peterix@gmail.com>2017-01-15 22:56:03 +0100
commit944ff256b2d9e271632efacd6e8dd1ea542e869f (patch)
treeaf7fc0041d8cc28d86577c9ffa6fc438a21b9a0b /application/themes/CustomTheme.cpp
parent71584fb8ccda914997f11044e819470d93cc3561 (diff)
downloadMultiMC-944ff256b2d9e271632efacd6e8dd1ea542e869f.tar
MultiMC-944ff256b2d9e271632efacd6e8dd1ea542e869f.tar.gz
MultiMC-944ff256b2d9e271632efacd6e8dd1ea542e869f.tar.lz
MultiMC-944ff256b2d9e271632efacd6e8dd1ea542e869f.tar.xz
MultiMC-944ff256b2d9e271632efacd6e8dd1ea542e869f.zip
NOISSUE add hack for system themes. Maybe it works?
Diffstat (limited to 'application/themes/CustomTheme.cpp')
-rw-r--r--application/themes/CustomTheme.cpp10
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;