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

Method menuFileOptionsOnClick

src/Client.cpp:1079–1086  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1077*/
1078
1079void 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
1088void Client::menuFileShowFirstUseWizardOnClick() {
1089 openmittsu::wizards::FirstUseWizard firstUseWizard(this);

Callers

nothing calls this directly

Calls 1

hasDatabaseMethod · 0.80

Tested by

no test coverage detected