MCPcopy Create free account
hub / github.com/MultiMC/Launcher / initialize

Method initialize

launcher/ui/widgets/CustomCommands.cpp:16–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void CustomCommands::initialize(bool checkable, bool checked, const QString& prelaunch, const QString& wrapper, const QString& postexit)
17{
18 ui->customCommandsGroupBox->setCheckable(checkable);
19 if(checkable)
20 {
21 ui->customCommandsGroupBox->setChecked(checked);
22 }
23 ui->preLaunchCmdTextBox->setText(prelaunch);
24 ui->wrapperCmdTextBox->setText(wrapper);
25 ui->postExitCmdTextBox->setText(postexit);
26}
27
28
29bool CustomCommands::checked() const

Callers 5

initializePageMethod · 0.45
openedImplMethod · 0.45
loadSettingsMethod · 0.45
loadSettingsMethod · 0.45
execMethod · 0.45

Calls 1

setTextMethod · 0.45

Tested by

no test coverage detected