corrections after static analysis

This commit is contained in:
jorenchik
2024-12-29 18:09:09 +02:00
parent b855e9910b
commit 4e2ef6b449

View File

@@ -127,7 +127,7 @@ PromptChoice showPrompt(
noText, noText,
QMessageBox::DestructiveRole QMessageBox::DestructiveRole
); );
auto *cancelButton = msgBox.addButton( msgBox.addButton(
cancelText, cancelText,
QMessageBox::RejectRole QMessageBox::RejectRole
); );
@@ -1172,7 +1172,7 @@ QMainWindow *initMdemListWindow() {
pair.second->isModified = false; pair.second->isModified = false;
} }
} break; } break;
case CANCEL: { default: {
return; return;
} break; } break;
} }