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:
Henning Gruendl
2025-05-15 17:08:34 +02:00
committed by Henning Gründl
parent 17c938a385
commit 80dbdfe032

View File

@@ -78,7 +78,7 @@ Column {
CornerRadiusSection { CornerRadiusSection {
id: cornerRadiusSection id: cornerRadiusSection
property bool radiiAvailable: backendValues.topLeftRadius.isAvailable property bool radiiAvailable: backendValues.topLeftRadius?.isAvailable ?? false
// && backendValues.topRightRadius.isAvailable // && backendValues.topRightRadius.isAvailable
// && backendValues.bottomLeftRadius.isAvailable // && backendValues.bottomLeftRadius.isAvailable
// && backendValues.bottomRightRadius.isAvailable // && backendValues.bottomRightRadius.isAvailable