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

Method validatePage

launcher/ui/setupwizard/AnalyticsWizardPage.cpp:34–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34bool AnalyticsWizardPage::validatePage()
35{
36 auto settings = APPLICATION->settings();
37 auto analytics = APPLICATION->analytics();
38 auto status = checkBox->isChecked();
39 settings->set("AnalyticsSeen", analytics->version());
40 settings->set("Analytics", status);
41 return true;
42}
43
44void AnalyticsWizardPage::retranslate()
45{

Callers

nothing calls this directly

Calls 4

analyticsMethod · 0.80
settingsMethod · 0.45
setMethod · 0.45
versionMethod · 0.45

Tested by

no test coverage detected