diff --git a/share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/generalhelper.cpp b/share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/generalhelper.cpp index dcd0a98549b..1b1788e4acf 100644 --- a/share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/generalhelper.cpp +++ b/share/qtcreator/qml/qmlpuppet/qml2puppet/editor3d/generalhelper.cpp @@ -110,7 +110,7 @@ QUrl GeneralHelper::resolveAbsoluteSourceUrl(const QQuick3DModel *sourceModel) return source; } - const QQmlContext *context = qmlContext(sourceModel); + QQmlContext *context = qmlContext(sourceModel); return context ? context->resolvedUrl(source) : source; }