summaryrefslogtreecommitdiffstats
path: root/application/themes/DarkTheme.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/DarkTheme.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/DarkTheme.cpp')
-rw-r--r--application/themes/DarkTheme.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/application/themes/DarkTheme.cpp b/application/themes/DarkTheme.cpp
index 2bcb4cd7..cf4a81e1 100644
--- a/application/themes/DarkTheme.cpp
+++ b/application/themes/DarkTheme.cpp
@@ -10,6 +10,11 @@ QString DarkTheme::name()
return QObject::tr("Dark");
}
+bool DarkTheme::hasColorScheme()
+{
+ return true;
+}
+
QPalette DarkTheme::colorScheme()
{
QPalette darkPalette;
@@ -39,6 +44,11 @@ QColor DarkTheme::fadeColor()
return QColor(49,54,59);
}
+bool DarkTheme::hasStyleSheet()
+{
+ return true;
+}
+
QString DarkTheme::appStyleSheet()
{
return "QToolTip { color: #ffffff; background-color: #2a82da; border: 1px solid white; }";