Commit 7cd567b8 authored by Laurent Montel's avatar Laurent Montel
Browse files

KMessageBox::sorry is deprecated in kf5.97

parent 9472b5be
Pipeline #210025 passed with stage
in 5 minutes and 18 seconds
......@@ -60,7 +60,7 @@ MultiplyingLine *MultiplyingLineView::addLine(bool showDialogBox)
int numberOfLine = mLines.count();
if (numberOfLine++ >= maximumRecipients) {
if (showDialogBox) {
KMessageBox::sorry(this, i18n("We can not add more recipients. We have reached maximum recipients"));
KMessageBox::error(this, i18n("We can not add more recipients. We have reached maximum recipients"));
}
return nullptr;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment