fixed issue with light theme
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user