Commit a03c9d70 authored by Laurent Montel's avatar Laurent Montel 😁

Remove warning

parent ce40c2d7
......@@ -76,8 +76,8 @@ void DownloadArticleJob::slotUrlSaveResult(KJob *job)
{
if (job->error()) {
KIO::Job *kiojob = dynamic_cast<KIO::Job *>(job);
if (kiojob && kiojob->ui()) {
kiojob->ui()->showErrorMessage();
if (kiojob && kiojob->uiDelegate()) {
kiojob->uiDelegate()->showErrorMessage();
} else {
qCWarning(AKREGATOR_LOG) << "There is no GUI delegate set for a kjob, and it failed with error:" << job->errorString();
}
......
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