summaryrefslogtreecommitdiff
path: root/src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2018-08-01 17:10:05 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2018-08-01 15:38:02 +0000
commitce411c34f1b6e4deb9d43d0649fc79a7b8622d5c (patch)
treee4a8e2d730cd5fa8dcedcc2f937c1ded08fbb548 /src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp
parent4fd17b660492ba9d216c935146345f5d295063cc (diff)
downloadqt-creator-ce411c34f1b6e4deb9d43d0649fc79a7b8622d5c.tar.gz
QmlDesigner: Fix clazy warnings
Use const & Change-Id: Iaa540194e45871500dc80a55cd2cb6beeeee45b5 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp')
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/propertyeditorqmlbackend.cpp4
1 files changed, 2 insertions, 2 deletions
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())