diff options
author | Petr Mrázek <peterix@gmail.com> | 2016-11-05 15:51:51 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2016-11-06 00:17:02 +0100 |
commit | 13b575f7a90ef97f3b30f2a2f74bd19d58d375e7 (patch) | |
tree | 4fffdae5bc645bd57d072bf5c3581a2b7613abc8 /application/themes/DarkTheme.cpp | |
parent | 495e752f8aef2774702890b8edc93de592c66984 (diff) | |
download | MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar.gz MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar.lz MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.tar.xz MultiMC-13b575f7a90ef97f3b30f2a2f74bd19d58d375e7.zip |
GH-1711 fix inactive element shading in Dark and Bright themes
Diffstat (limited to 'application/themes/DarkTheme.cpp')
-rw-r--r-- | application/themes/DarkTheme.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/application/themes/DarkTheme.cpp b/application/themes/DarkTheme.cpp index 497be1f4..143dd533 100644 --- a/application/themes/DarkTheme.cpp +++ b/application/themes/DarkTheme.cpp @@ -10,11 +10,6 @@ QString DarkTheme::name() return QObject::tr("Dark"); } -QString DarkTheme::qtTheme() -{ - return "Fusion"; -} - QPalette DarkTheme::colorScheme() { QPalette darkPalette; @@ -29,10 +24,9 @@ QPalette DarkTheme::colorScheme() darkPalette.setColor(QPalette::ButtonText, Qt::white); darkPalette.setColor(QPalette::BrightText, Qt::red); darkPalette.setColor(QPalette::Link, QColor(42, 130, 218)); - darkPalette.setColor(QPalette::Highlight, QColor(42, 130, 218)); darkPalette.setColor(QPalette::HighlightedText, Qt::black); - return darkPalette; + return fadeInactive(darkPalette, 0.5f, QColor(49,54,59)); } |