forked from qt-creator/qt-creator
QmlDesigner: Fix clazy warning
Simplify for loop. Change-Id: I191dc0d14f672b2a87a2998d0afa4ca67adc0de1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -248,8 +248,7 @@ void ModelToTextMerger::applyChanges()
|
||||
textModifier->deactivateChangeSignals();
|
||||
textModifier->startGroup();
|
||||
|
||||
for (int i = 0; i < m_rewriteActions.size(); ++i) {
|
||||
RewriteAction* action = m_rewriteActions.at(i);
|
||||
for (auto action : m_rewriteActions) {
|
||||
if (DebugRewriteActions)
|
||||
qDebug() << "Next rewrite action:" << qPrintable(action->info());
|
||||
|
||||
|
Reference in New Issue
Block a user