forked from qt-creator/qt-creator
QmlDesigner: void static -> static void
That's the order everywhere in the codebase. Change-Id: I62e57f2ddddd6e4fac0dc26d81b05839cf80a9db Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
a998202acf
commit
27063168ad
@@ -890,7 +890,7 @@ PropertyName getIndexPropertyName(const ModelNode &modelNode)
|
|||||||
return PropertyName();
|
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()) {
|
if (!property.exists() || property.isVariantProperty()) {
|
||||||
/* Using QmlObjectNode ensures we take states into account. */
|
/* Using QmlObjectNode ensures we take states into account. */
|
||||||
|
@@ -8211,7 +8211,7 @@ void tst_TestCore::changeGradientId()
|
|||||||
|
|
||||||
static void checkNode(QmlJS::SimpleReaderNode::Ptr node, TestRewriterView *view);
|
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())
|
for (auto child : node->children())
|
||||||
checkNode(child, view);
|
checkNode(child, view);
|
||||||
|
Reference in New Issue
Block a user