mirror of
https://github.com/jorenchik/mdemory.git
synced 2026-03-22 00:26:21 +00:00
corrections after static analysis
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user