Commit d9091d85 authored by Albert Astals Cid's avatar Albert Astals Cid

Forward the error to the user via a KMessageBox

Otherwise i can't say the message that says

No s'ha pogut iniciar la sessió al servidor pop.mail.yahoo.com.\nCould not login to pop.mail.yahoo.com. The password may be wrong.\n\nThe server said: \"[AUTH] (#MBR1213) Please verify your account by going to https://login.yahoo.com\"

And i'm stuck not being able to download email.
parent d766b872
......@@ -914,6 +914,7 @@ void POP3Resource::cancelSync(const QString &errorMessage, bool error)
cancelTask(errorMessage);
qCWarning(POP3RESOURCE_LOG) << "============== ERROR DURING POP3 SYNC ==========================";
qCWarning(POP3RESOURCE_LOG) << errorMessage;
KMessageBox::error(Q_NULLPTR, errorMessage);
} else {
qCDebug(POP3RESOURCE_LOG) << "Canceled the sync, but no error.";
cancelTask();
......
Markdown is supported
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