fixed issue with light theme

This commit is contained in:
fourtf 2018-01-15 01:47:31 +01:00
parent 64553cf27b
commit 72abd52831

View file

@ -59,17 +59,17 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
QColor themeColor = QColor::fromHslF(hue, 0.5, 0.5); QColor themeColor = QColor::fromHslF(hue, 0.5, 0.5);
QColor themeColorNoSat = QColor::fromHslF(hue, 0, 0.5); QColor themeColorNoSat = QColor::fromHslF(hue, 0, 0.5);
#ifdef USEWINSDK //#ifdef USEWINSDK
QColor tabFg = isLight ? "#000" : "#fff"; // isLightTabs = isLight;
this->windowBg = isLight ? "#fff" : "#444"; // QColor tabFg = isLight ? "#000" : "#fff";
// this->windowBg = isLight ? "#fff" : "#444";
isLightTabs = isLight; //#else
#else isLightTabs = true;
QColor tabFg = lightTheme ? "#000" : "#fff"; QColor tabFg = isLightTabs ? "#000" : "#fff";
this->windowBg = "#fff"; this->windowBg = "#fff";
isLightTabs = true; //#endif
#endif
qreal sat = 0.05; qreal sat = 0.05;