use range for
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
f393aa684e
commit
f8d9cd9a03
@ -274,8 +274,7 @@ QString FlameCreationTask::getVersionForLoader(QString uid, QString loaderType,
|
|||||||
loadVersionLoop.exec();
|
loadVersionLoop.exec();
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < vlist->versions().size(); i++) {
|
for (auto version : vlist->versions()) {
|
||||||
auto version = vlist->versions().at(i);
|
|
||||||
// first recommended build we find, we use.
|
// first recommended build we find, we use.
|
||||||
if (!version->isRecommended())
|
if (!version->isRecommended())
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user