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

Method done

launcher/ui/dialogs/InstallLoaderDialog.cpp:158–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158void InstallLoaderDialog::done(int result)
159{
160 if (result == Accepted) {
161 auto* page = pageCast(container->selectedPage());
162 if (page->selectedVersion()) {
163 profile->setComponentVersion(page->id(), page->selectedVersion()->descriptor());
164 profile->resolve(Net::Mode::Online);
165 }
166 }
167
168 QDialog::done(result);
169}
170#include "InstallLoaderDialog.moc"

Callers

nothing calls this directly

Calls 7

setComponentVersionMethod · 0.80
pageCastFunction · 0.70
selectedPageMethod · 0.45
selectedVersionMethod · 0.45
idMethod · 0.45
descriptorMethod · 0.45
resolveMethod · 0.45

Tested by

no test coverage detected