forked from qt-creator/qt-creator
QmlDesigner: Allow resolvedUrl in ui.qml files
Change-Id: I220582466ffe62392b78419b9a2f6b83cf73f9af Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
67c0104b8e
commit
969d659713
@@ -1745,7 +1745,7 @@ bool Check::visit(CallExpression *ast)
|
||||
static const QStringList colorFunctions = {"lighter", "darker", "rgba", "tint", "hsla", "hsva"};
|
||||
|
||||
static const QStringList qtFunction = {"point", "rect", "size", "vector2d", "vector3d", "vector4d", "quaternion" "matrix4x4", "formatDate",
|
||||
"formatDateTime", "formatTime"};
|
||||
"formatDateTime", "formatTime", "resolvedUrl"};
|
||||
|
||||
const bool whiteListedFunction = translationFunctions.contains(name) || whiteListedFunctions.contains(name) || colorFunctions.contains(name) || qtFunction.contains(name);
|
||||
|
||||
|
Reference in New Issue
Block a user