omited struct names in ThemeManager

This commit is contained in:
2018-01-02 02:21:38 +01:00
parent 3e5937011a
commit eb4ba30d9f
2 changed files with 12 additions and 12 deletions
+3 -3
View File
@@ -183,9 +183,9 @@ void NotebookTab::paintEvent(QPaintEvent *)
// fill the tab background
painter.fillRect(rect(),
windowFocused
? (this->mouseOver ? colors.backgrounds.hover : colors.backgrounds.regular)
: colors.backgrounds.unfocused);
this->mouseOver ? colors.backgrounds.hover
: (windowFocused ? colors.backgrounds.regular
: colors.backgrounds.unfocused));
// set the pen color
painter.setPen(colors.text);