forked from qt-creator/qt-creator
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:
committed by
Tim Jenssen
parent
18461884e0
commit
32e9f3cfd4
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user