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

Port deprecated methods

parent e038dbbc
......@@ -571,11 +571,11 @@ void NewSignEncryptEMailController::doTaskDone(const Task *task, const std::shar
if (result && result->hasError()) {
QPointer<QObject> that = this;
if (result->details().isEmpty())
KMessageBox:: sorry(nullptr,
KMessageBox::error(nullptr,
result->overview(),
i18nc("@title:window", "Error"));
else
KMessageBox::detailedSorry(nullptr,
KMessageBox::detailedError(nullptr,
result->overview(),
result->details(),
i18nc("@title:window", "Error"));
......
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