| 1077 | */ |
| 1078 | |
| 1079 | void Client::menuFileOptionsOnClick() { |
| 1080 | if (!m_databaseWrapper.hasDatabase() || m_optionMaster == nullptr) { |
| 1081 | QMessageBox::warning(this, "No database loaded", "Before you can use this feature you need to load a database from file (see main screen) or create one using a backup of your existing ID (see Identity -> Load Backup)."); |
| 1082 | } else { |
| 1083 | openmittsu::dialogs::OptionsDialog optionsDialog(m_optionMaster, this); |
| 1084 | optionsDialog.exec(); |
| 1085 | } |
| 1086 | } |
| 1087 | |
| 1088 | void Client::menuFileShowFirstUseWizardOnClick() { |
| 1089 | openmittsu::wizards::FirstUseWizard firstUseWizard(this); |
nothing calls this directly
no test coverage detected