Skip to content
Snippets Groups Projects
Commit 86ca9f84 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Use clean copy to iterate, not the user provided one

Reviewed-by: dt
parent 772c838a
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ void TargetSetupPage::setImportInfos(const QList<ImportInfo> &infos)
targetItem->setExpanded(true);
int pos = -1;
foreach (const ImportInfo &i, infos) {
foreach (const ImportInfo &i, m_infos) {
++pos;
if (!i.version->supportsTargetId(t))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment