Flat theme: Same disabled color all side/tool/status bar icons

And adapting darkframe.creatortheme accordingly to match Diana's
specification

Change-Id: I9e1f62869ff91d7cfd3a26f51d26225d549a0965
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2016-03-17 12:53:41 +01:00
parent 1584328da9
commit bc481dc399
2 changed files with 2 additions and 2 deletions

View File

@@ -329,7 +329,7 @@ void FancyTabBar::paintTab(QPainter *painter, int tabIndex) const
painter->restore();
}
if (!enabled)
if (!enabled && creatorTheme()->widgetStyle() == Theme::StyleDefault)
painter->setOpacity(0.7);
if (drawIcon) {