mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
libs: warn when the image reader claims the data is readable but returns null image from favicon KDED module
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
055a8ca5f1
commit
e806e8a4c7
1 changed files with 3 additions and 0 deletions
|
@ -281,6 +281,9 @@ void FavIconsModule::slotResult(KJob *job)
|
|||
} else if (!download.isHost) {
|
||||
d->config->group(QString()).writeEntry(removeSlash(download.hostOrURL), iconURL.url());
|
||||
}
|
||||
} else {
|
||||
errorMessage = i18n("Image reader returned null image");
|
||||
kWarning() << "Image reader returned null image" << ir.errorString();
|
||||
}
|
||||
} else {
|
||||
errorMessage = i18n("Image reader cannot read the data");
|
||||
|
|
Loading…
Add table
Reference in a new issue