aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldom/qqmldomreformatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmldom/qqmldomreformatter.cpp')
-rw-r--r--src/qmldom/qqmldomreformatter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmldom/qqmldomreformatter.cpp b/src/qmldom/qqmldomreformatter.cpp
index fcc847591d..a925fe3bbe 100644
--- a/src/qmldom/qqmldomreformatter.cpp
+++ b/src/qmldom/qqmldomreformatter.cpp
@@ -983,7 +983,7 @@ protected:
{
for (FormalParameterList *it = ast; it; it = it->next) {
// compare FormalParameterList::finish
- if (auto id = it->element->bindingIdentifier.toString(); !id.startsWith(u"arg#"))
+ if (auto id = it->element->bindingIdentifier.toString(); !id.isEmpty())
out(id);
if (it->element->bindingTarget)
accept(it->element->bindingTarget);