Commit b8d1207e authored by Laurent Montel's avatar Laurent Montel
Browse files

KMessageBox::sorry is deprecated in kf5.97

parent 425666ba
Pipeline #210029 passed with stage
in 18 minutes and 48 seconds
......@@ -90,7 +90,7 @@ public:
QObject::connect(job, &SubscriptionJob::result, q, [this](KJob *job) {
if (job->error()) {
qCWarning(AKONADIWIDGETS_LOG) << job->errorString();
KMessageBox::sorry(q, i18n("Failed to update subscription: %1", job->errorString()), i18nc("@title", "Subscription Error"));
KMessageBox::error(q, i18n("Failed to update subscription: %1", job->errorString()), i18nc("@title", "Subscription Error"));
q->reject();
}
q->accept();
......
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