diff options
Diffstat (limited to 'src/plugins/debugger/commonoptionspage.cpp')
-rw-r--r-- | src/plugins/debugger/commonoptionspage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/commonoptionspage.cpp b/src/plugins/debugger/commonoptionspage.cpp index 0aeee7f2d7..de39258df1 100644 --- a/src/plugins/debugger/commonoptionspage.cpp +++ b/src/plugins/debugger/commonoptionspage.cpp @@ -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); } |