aboutsummaryrefslogtreecommitdiffstats
path: root/tools/qmlformat/dumpastvisitor.h
diff options
context:
space:
mode:
authorEvgeniy A. Dushistov <dushistov@mail.ru>2020-08-15 13:13:45 +0300
committerEvgeniy A. Dushistov <dushistov@mail.ru>2020-08-20 17:23:40 +0300
commitac68310b7857693c9eb7ccb782133ac9ec8e2328 (patch)
tree2986baa269480ab4f403ef024e95941faa3f9802 /tools/qmlformat/dumpastvisitor.h
parentf04497b5d24e908beb50dff04b0a03358d7993c7 (diff)
qmlformat: fix handling of "if else" inside "if" in "if else"
Fixes: QTBUG-86060 Change-Id: I7a191c451793bf4e1f6a2bd02ceb36b5957136c2 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'tools/qmlformat/dumpastvisitor.h')
-rw-r--r--tools/qmlformat/dumpastvisitor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlformat/dumpastvisitor.h b/tools/qmlformat/dumpastvisitor.h
index f84c4859ae..fbbd6871eb 100644
--- a/tools/qmlformat/dumpastvisitor.h
+++ b/tools/qmlformat/dumpastvisitor.h
@@ -95,8 +95,8 @@ private:
QHash<QString, UiObjectMember*> m_bindings;
};
- QString generateIndent() const;
QString formatLine(QString line, bool newline = true) const;
+ QString formatPartlyFormatedLines(QString line, bool newline = true) const;
QString formatComment(const Comment &comment) const;