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

Method initialize

launcher/ui/widgets/CustomCommands.cpp:51–61  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51void CustomCommands::initialize(bool checkable, bool checked, const QString& prelaunch, const QString& wrapper, const QString& postexit)
52{
53 ui->customCommandsGroupBox->setCheckable(checkable);
54 if(checkable)
55 {
56 ui->customCommandsGroupBox->setChecked(checked);
57 }
58 ui->preLaunchCmdTextBox->setText(prelaunch);
59 ui->wrapperCmdTextBox->setText(wrapper);
60 ui->postExitCmdTextBox->setText(postexit);
61}
62
63
64void CustomCommands::retranslate() {

Callers 6

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

Calls 1

setTextMethod · 0.45

Tested by

no test coverage detected