QmlDesigner: Add real as number type

Task-number: QDS-11098
Change-Id: I2825215f0ce9c57f2f88318bcdf1ecc11defa793
Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
This commit is contained in:
Thomas Hartmann
2023-11-02 15:09:00 +01:00
parent 4d55d6be18
commit f466ac7ce2

View File

@@ -2602,7 +2602,8 @@ bool NodeMetaInfo::isNumber() const
auto type = simplifiedTypeName(); auto type = simplifiedTypeName();
return type == "int" || type == "uint" || type == "float" || type == "double"; return type == "int" || type == "uint" || type == "float" || type == "double"
|| type == "real";
} }
} }