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,
QMessageBox::DestructiveRole
);
auto *cancelButton = msgBox.addButton(
msgBox.addButton(
cancelText,
QMessageBox::RejectRole
);
@@ -1172,7 +1172,7 @@ QMainWindow *initMdemListWindow() {
pair.second->isModified = false;
}
} break;
case CANCEL: {
default: {
return;
} break;
}