From 27063168ad386e7136cc285667b33774d150bbe7 Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Sun, 11 Mar 2018 22:53:53 +0200 Subject: [PATCH] QmlDesigner: void static -> static void That's the order everywhere in the codebase. Change-Id: I62e57f2ddddd6e4fac0dc26d81b05839cf80a9db Reviewed-by: Christian Stenger --- .../components/componentcore/modelnodeoperations.cpp | 2 +- tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp b/src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp index 0861597828f..5287db7a8ce 100644 --- a/src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp +++ b/src/plugins/qmldesigner/components/componentcore/modelnodeoperations.cpp @@ -890,7 +890,7 @@ PropertyName getIndexPropertyName(const ModelNode &modelNode) return PropertyName(); } -void static setIndexProperty(const AbstractProperty &property, const QVariant &value) +static void setIndexProperty(const AbstractProperty &property, const QVariant &value) { if (!property.exists() || property.isVariantProperty()) { /* Using QmlObjectNode ensures we take states into account. */ diff --git a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp index 83cdaf3675a..6f8e390a05a 100644 --- a/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp +++ b/tests/auto/qml/qmldesigner/coretests/tst_testcore.cpp @@ -8211,7 +8211,7 @@ void tst_TestCore::changeGradientId() static void checkNode(QmlJS::SimpleReaderNode::Ptr node, TestRewriterView *view); -void static checkChildNodes(QmlJS::SimpleReaderNode::Ptr node, TestRewriterView *view) +static void checkChildNodes(QmlJS::SimpleReaderNode::Ptr node, TestRewriterView *view) { for (auto child : node->children()) checkNode(child, view);