some fixes for linux

This commit is contained in:
fourtf
2018-04-13 22:50:19 +02:00
parent 79b4511104
commit 2c5d05dfa1
3 changed files with 14 additions and 4 deletions
+7 -1
View File
@@ -69,7 +69,13 @@ void ThemeManager::actuallyUpdate(double hue, double multiplier)
/// WINDOW
{
QColor bg = this->window.background = lightWin ? "#fff" : "#444";
QColor bg =
#ifdef Q_OS_LINUX
this->window.background = lightWin ? "#fff" : QColor(61, 60, 56);
#else
this->window.background = lightWin ? "#fff" : "#444";
#endif
QColor fg = this->window.text = lightWin ? "#000" : "#eee";
this->window.borderFocused = lightWin ? "#ccc" : themeColor;
this->window.borderUnfocused = lightWin ? "#ccc" : themeColorNoSat;