From 969d65971378e4744967ace7de2a99ada86feabf Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 29 Sep 2021 18:07:54 +0200 Subject: [PATCH] QmlDesigner: Allow resolvedUrl in ui.qml files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I220582466ffe62392b78419b9a2f6b83cf73f9af Reviewed-by: Henning Gründl --- src/libs/qmljs/qmljscheck.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/qmljs/qmljscheck.cpp b/src/libs/qmljs/qmljscheck.cpp index 8b390048cc5..f91b587fb07 100644 --- a/src/libs/qmljs/qmljscheck.cpp +++ b/src/libs/qmljs/qmljscheck.cpp @@ -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);