From 32e9f3cfd4b67e2988c8e478c1bc2551440d8d36 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Fri, 17 Nov 2023 15:26:10 +0100 Subject: [PATCH] QmlDesigner: Rename boolean to bool boolean is not a QML type and Qt 6.5.4 does check this. Change-Id: I09055cfecf8f91766c8c4f2806150fefa7301741 Reviewed-by: Tim Jenssen --- .../imports/StudioControls/PopupDialog.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/PopupDialog.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/PopupDialog.qml index 1f62ba81818..cbeb113701e 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/PopupDialog.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/imports/StudioControls/PopupDialog.qml @@ -135,7 +135,7 @@ QtObject { return Qt.LeftEdge // Default } - function contains(a: rect, b: rect): boolean { + function contains(a: rect, b: rect): bool { let halfSizeA = Qt.size(a.width * 0.5, a.height * 0.5) let halfSizeB = Qt.size(b.width * 0.5, b.height * 0.5)