forked from qt-creator/qt-creator
QmlDesigner: Fix corner radii for older QtQick
Remove a warning that pops up when the QtQuick version that is used doesn't contain independent corner radii for Rectangle. Pick-to: qds/4.7 Change-Id: Ideef90d47394bec31fd2ce0ff3f406638c32ac70 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
17c938a385
commit
80dbdfe032
@@ -78,7 +78,7 @@ Column {
|
||||
|
||||
CornerRadiusSection {
|
||||
id: cornerRadiusSection
|
||||
property bool radiiAvailable: backendValues.topLeftRadius.isAvailable
|
||||
property bool radiiAvailable: backendValues.topLeftRadius?.isAvailable ?? false
|
||||
// && backendValues.topRightRadius.isAvailable
|
||||
// && backendValues.bottomLeftRadius.isAvailable
|
||||
// && backendValues.bottomRightRadius.isAvailable
|
||||
|
Reference in New Issue
Block a user