fixed tabs being colored when the window was unfocused

This commit is contained in:
fourtf 2018-01-15 01:38:21 +01:00
parent c50e6d7809
commit 64553cf27b

View file

@ -57,7 +57,7 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
bool isLightTabs; bool isLightTabs;
QColor themeColor = QColor::fromHslF(hue, 0.5, 0.5); QColor themeColor = QColor::fromHslF(hue, 0.5, 0.5);
QColor themeColorNoSat = QColor::fromHslF(hue, 0.5, 0.5); QColor themeColorNoSat = QColor::fromHslF(hue, 0, 0.5);
#ifdef USEWINSDK #ifdef USEWINSDK
QColor tabFg = isLight ? "#000" : "#fff"; QColor tabFg = isLight ? "#000" : "#fff";