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

Function initialize

launcher/ui/java/InstallJavaDialog.cpp:81–85  ·  view source on GitHub ↗

loads the list if needed.

Source from the content-addressed store, hash-verified

79
80 //! loads the list if needed.
81 void initialize(Meta::VersionList::Ptr vlist)
82 {
83 vlist->setProvidedRoles({ BaseVersionList::JavaMajorRole, BaseVersionList::RecommendedRole, BaseVersionList::VersionPointerRole });
84 majorVersionSelect->initialize(vlist.get());
85 }
86
87 void setSelectedVersion(BaseVersion::Ptr version)
88 {

Callers 2

openedImplFunction · 0.85
openedImplFunction · 0.85

Calls 3

setProvidedRolesMethod · 0.80
initializeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected