forked from qt-creator/qt-creator
Debugger: Code cosmetics
Remove uses of foreach, ... Change-Id: I3997d4dffc63d58c386c70b08063ecb894ef1abb Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -248,7 +248,7 @@ QWidget *CommonOptionsPage::widget()
|
||||
}
|
||||
|
||||
SourcePathMap allPathMap = m_options->sourcePathMap;
|
||||
foreach (auto regExpMap, m_options->sourcePathRegExpMap)
|
||||
for (auto regExpMap : qAsConst(m_options->sourcePathRegExpMap))
|
||||
allPathMap.insert(regExpMap.first.pattern(), regExpMap.second);
|
||||
m_sourceMappingWidget->setSourcePathMap(allPathMap);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user