summaryrefslogtreecommitdiffstats
path: root/application/themes/BrightTheme.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/BrightTheme.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/BrightTheme.cpp')
-rw-r--r--application/themes/BrightTheme.cpp10
1 files changed, 10 insertions, 0 deletions
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();