MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / loadSettings

Method loadSettings

launcher/ui/pages/global/CustomCommandsPage.cpp:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void CustomCommandsPage::loadSettings()
78{
79 auto s = APPLICATION->settings();
80 commands->initialize(
81 false,
82 true,
83 s->get("PreLaunchCommand").toString(),
84 s->get("WrapperCommand").toString(),
85 s->get("PostExitCommand").toString()
86 );
87}
88
89void CustomCommandsPage::retranslate()
90{

Callers

nothing calls this directly

Calls 4

settingsMethod · 0.45
initializeMethod · 0.45
toStringMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected