diff --git a/share/qtcreator/welcomescreen/widgets/Button.qml b/share/qtcreator/welcomescreen/widgets/Button.qml index 75dca22d359..0f5e5c88a38 100644 --- a/share/qtcreator/welcomescreen/widgets/Button.qml +++ b/share/qtcreator/welcomescreen/widgets/Button.qml @@ -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 } } diff --git a/share/qtcreator/welcomescreen/widgets/Delegate.qml b/share/qtcreator/welcomescreen/widgets/Delegate.qml index f3ce5b5b657..6005e203745 100644 --- a/share/qtcreator/welcomescreen/widgets/Delegate.qml +++ b/share/qtcreator/welcomescreen/widgets/Delegate.qml @@ -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