MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / waitToLoad

Method waitToLoad

launcher/meta/VersionList.cpp:279–288  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279void VersionList::waitToLoad()
280{
281 if (isLoaded())
282 return;
283 QEventLoop ev;
284 auto task = getLoadTask();
285 QObject::connect(task.get(), &Task::finished, &ev, &QEventLoop::quit);
286 task->start();
287 ev.exec();
288}
289
290Version::Ptr VersionList::getRecommendedForParent(const QString& uid, const QString& version)
291{

Callers 3

getVersionForLoaderMethod · 0.80
performUpdateActionsMethod · 0.80
isVersionChangeableMethod · 0.80

Calls 3

getMethod · 0.45
startMethod · 0.45
execMethod · 0.45

Tested by

no test coverage detected