MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / closeEvent

Method closeEvent

source/ui/SettingsUi.cpp:270–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268 QiJson::SaveJson();
269 });
270#endif
271 connect(ui.recordTrack_check, &QCheckBox::toggled, this, [this](bool state) { sets.recTrack = state; QiJson::SaveJson(); });
272 connect(ui.enableDefault_check, &QCheckBox::toggled, this, [this](bool state) { sets.defOn = state; QiJson::SaveJson(); });
273 connect(ui.showState_check, &QCheckBox::toggled, this, [this](bool state) { sets.showTips = state; QiJson::SaveJson(); });
274 connect(ui.sound_check, &QCheckBox::toggled, this, [this](bool state) { sets.audFx = state; QiJson::SaveJson(); });
275 connect(ui.hideDefault_check, &QCheckBox::toggled, this, [this](bool state) { sets.minMode = state; QiJson::SaveJson(); });
276 connect(ui.pad_check, &QCheckBox::toggled, this, [this](bool state) { sets.pad = state; Qi::widget.keyEditReload(); QiJson::SaveJson(); });

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected