Commit 372bd9ed authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

KMessageBox::sorry is deprecated in kf5.97

parent 5c83a149
Pipeline #210301 passed with stage
in 53 seconds
......@@ -1716,9 +1716,9 @@ bool TreeView::save()
if (success) {
KBuildSycocaProgressDialog::rebuildKSycoca(this);
} else {
KMessageBox::sorry(this,
QStringLiteral("<qt>") + i18n("Menu changes could not be saved because of the following problem:") + QStringLiteral("<br><br>") +
m_menuFile->error() + QStringLiteral("</qt>"));
KMessageBox::error(this,
QStringLiteral("<qt>") + i18n("Menu changes could not be saved because of the following problem:") + QStringLiteral("<br><br>")
+ m_menuFile->error() + QStringLiteral("</qt>"));
}
sendReloadMenu();
......
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