Welcome: Fix the handling of the new Theme::FlatToolBars flag

Small addition which should have been part of
8588cf268f

Change-Id: Iddc91e1ec98a944b2d44f615140025693cfc0fd0
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
(cherry picked from commit 835ab0c44f)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2016-06-30 11:02:58 +02:00
committed by Eike Ziller
parent bd609e8e1e
commit 589792fe1c
2 changed files with 2 additions and 2 deletions

View File

@@ -64,7 +64,7 @@ Button {
border.color: (button.checked || button.pressed)
? creatorTheme.Welcome_ForegroundPrimaryColor
: creatorTheme.Welcome_ForegroundSecondaryColor
radius: (creatorTheme.WidgetStyle === 'StyleFlat') ? 0 : 4
radius: creatorTheme.FlatToolBars ? 0 : 4
}
}

View File

@@ -187,7 +187,7 @@ Rectangle {
Rectangle {
id: border
color: "#00000000"
radius: creatorTheme.WidgetStyle === 'StyleFlat' ? 0 : 6
radius: creatorTheme.FlatToolBars ? 0 : 6
anchors.rightMargin: 4
anchors.leftMargin: 4
anchors.bottomMargin: 4