diff options
Diffstat (limited to 'src/qmldom/qqmldomcodeformatter.cpp')
-rw-r--r-- | src/qmldom/qqmldomcodeformatter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qmldom/qqmldomcodeformatter.cpp b/src/qmldom/qqmldomcodeformatter.cpp index 9997905a5e..5660025fd8 100644 --- a/src/qmldom/qqmldomcodeformatter.cpp +++ b/src/qmldom/qqmldomcodeformatter.cpp @@ -224,9 +224,8 @@ void FormatPartialStatus::dump() const { qCDebug(formatterLog) << "Current token index" << tokenIndex; qCDebug(formatterLog) << "Current state:"; - foreach (const State &s, currentStatus.states) { + for (const State &s : currentStatus.states) qCDebug(formatterLog) << FormatTextStatus::stateToString(s.type) << s.savedIndentDepth; - } qCDebug(formatterLog) << "Current lexerState:" << currentStatus.lexerState.state; qCDebug(formatterLog) << "Current indent:" << currentIndent; } |