From ce411c34f1b6e4deb9d43d0649fc79a7b8622d5c Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Wed, 1 Aug 2018 17:10:05 +0200 Subject: QmlDesigner: Fix clazy warnings Use const & Change-Id: Iaa540194e45871500dc80a55cd2cb6beeeee45b5 Reviewed-by: hjk --- .../components/propertyeditor/propertyeditorqmlbackend.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp') diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp index 872bc84518..86b3ac9165 100644 --- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp +++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp @@ -401,8 +401,8 @@ QString PropertyEditorQmlBackend::propertyEditorResourcesPath() { return Core::ICore::resourcePath() + QStringLiteral("/qmldesigner/propertyEditorQmlSources"); } -QString PropertyEditorQmlBackend::templateGeneration(NodeMetaInfo type, - NodeMetaInfo superType, +QString PropertyEditorQmlBackend::templateGeneration(const NodeMetaInfo &type, + const NodeMetaInfo &superType, const QmlObjectNode &objectNode) { if (!templateConfiguration() || !templateConfiguration()->isValid()) -- cgit v1.2.1