From 72abd5283175d6a6d13473d0a0f64f0a20c6d442 Mon Sep 17 00:00:00 2001 From: fourtf Date: Mon, 15 Jan 2018 01:47:31 +0100 Subject: [PATCH] fixed issue with light theme --- src/singletons/thememanager.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/singletons/thememanager.cpp b/src/singletons/thememanager.cpp index 5f0cb93e..6164c49b 100644 --- a/src/singletons/thememanager.cpp +++ b/src/singletons/thememanager.cpp @@ -59,17 +59,17 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier) QColor themeColor = QColor::fromHslF(hue, 0.5, 0.5); QColor themeColorNoSat = QColor::fromHslF(hue, 0, 0.5); -#ifdef USEWINSDK - QColor tabFg = isLight ? "#000" : "#fff"; - this->windowBg = isLight ? "#fff" : "#444"; + //#ifdef USEWINSDK + // isLightTabs = isLight; + // QColor tabFg = isLight ? "#000" : "#fff"; + // this->windowBg = isLight ? "#fff" : "#444"; - isLightTabs = isLight; -#else - QColor tabFg = lightTheme ? "#000" : "#fff"; + //#else + isLightTabs = true; + QColor tabFg = isLightTabs ? "#000" : "#fff"; this->windowBg = "#fff"; - isLightTabs = true; -#endif + //#endif qreal sat = 0.05;