MCPcopy Create free account
hub / github.com/blizzard4591/openMittsu / menuFileShowFirstUseWizardOnClick

Method menuFileShowFirstUseWizardOnClick

src/Client.cpp:1088–1099  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1086}
1087
1088void Client::menuFileShowFirstUseWizardOnClick() {
1089 openmittsu::wizards::FirstUseWizard firstUseWizard(this);
1090 int const result = firstUseWizard.exec();
1091 if (result == 1) {
1092 openmittsu::wizards::FirstUseWizard::UserChoice const userChoice = firstUseWizard.getUserChoice();
1093 if (userChoice == openmittsu::wizards::FirstUseWizard::UserChoice::LOAD_DATABASE) {
1094 btnOpenDatabaseOnClick();
1095 } else if (userChoice == openmittsu::wizards::FirstUseWizard::UserChoice::CREATE_DATABASE) {
1096 menuIdentityLoadBackupOnClick();
1097 }
1098 }
1099}
1100
1101void Client::menuFileExitOnClick() {
1102 this->close();

Callers

nothing calls this directly

Calls 1

getUserChoiceMethod · 0.80

Tested by

no test coverage detected