MCPcopy Create free account
hub / github.com/PrismLauncher/PrismLauncher / openedImpl

Function openedImpl

launcher/ui/dialogs/InstallLoaderDialog.cpp:54–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 QIcon icon() const override { return QIcon::fromTheme(iconName); }
53
54 void openedImpl() override
55 {
56 if (loaded)
57 return;
58
59 const auto versions = APPLICATION->metadataIndex()->get(uid);
60 if (!versions)
61 return;
62
63 initialize(versions.get());
64 loaded = true;
65 }
66
67 void setParentContainer(BasePageContainer* container) override
68 {

Callers

nothing calls this directly

Calls 3

initializeFunction · 0.85
metadataIndexMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected