| 1086 | } |
| 1087 | |
| 1088 | void 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 | |
| 1101 | void Client::menuFileExitOnClick() { |
| 1102 | this->close(); |
nothing calls this directly
no test coverage detected