forked from qt-creator/qt-creator
Themes: Enable UI recoloring for flat themes
Change-Id: I1907c42a769124b7505bd7afaf6c4da910f3f407 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -272,7 +272,9 @@ void FancyActionBar::paintEvent(QPaintEvent *event)
|
||||
if (creatorTheme()->widgetStyle () == Theme::StyleFlat) {
|
||||
// this paints the background of the bottom portion of the
|
||||
// left tab bar
|
||||
painter.fillRect(event->rect(), creatorTheme()->color(Theme::FancyTabBarBackgroundColor));
|
||||
painter.fillRect(event->rect(), StyleHelper::isBaseColorDefault()
|
||||
? creatorTheme()->color(Theme::FancyTabBarBackgroundColor)
|
||||
: StyleHelper::baseColor());
|
||||
}
|
||||
|
||||
QColor light = StyleHelper::sidebarHighlight();
|
||||
|
||||
Reference in New Issue
Block a user