Commit bc481dc3 authored by Alessandro Portale's avatar Alessandro Portale

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: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent 1584328d
......@@ -7,7 +7,7 @@ shadowBackground=ff404244
text=ff000000
textDisabled=55000000
toolBarItem=b6fbfdff
toolBarItemDisabled=88a4a6a8
toolBarItemDisabled=60a4a6a8
hoverBackground=22ffffff
selectedBackground=66000000
normalBackground=ffffffff
......
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment