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 <tim.jenssen@qt.io>
This commit is contained in:
Thomas Hartmann
2023-11-17 15:26:10 +01:00
committed by Tim Jenssen
parent 18461884e0
commit 32e9f3cfd4

View File

@@ -135,7 +135,7 @@ QtObject {
return Qt.LeftEdge // Default 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 halfSizeA = Qt.size(a.width * 0.5, a.height * 0.5)
let halfSizeB = Qt.size(b.width * 0.5, b.height * 0.5) let halfSizeB = Qt.size(b.width * 0.5, b.height * 0.5)