aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldom/qqmldomreformatter_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmldom/qqmldomreformatter_p.h')
-rw-r--r--src/qmldom/qqmldomreformatter_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qmldom/qqmldomreformatter_p.h b/src/qmldom/qqmldomreformatter_p.h
index f5e3b147b9..565d021822 100644
--- a/src/qmldom/qqmldomreformatter_p.h
+++ b/src/qmldom/qqmldomreformatter_p.h
@@ -46,7 +46,7 @@ protected:
if (loc.length != 0)
out(loc2Str(loc));
}
- inline void newLine() { lw.ensureNewline(); }
+ inline void newLine(quint32 count = 1) { lw.ensureNewline(count); }
inline void accept(AST::Node *node) { AST::Node::accept(node, this); }
void lnAcceptIndented(AST::Node *node);