mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-24 02:42:48 +00:00
kio: log PreviewJob messages to the kio (KIOJob) debug area
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
9e5c94b905
commit
9e3f2b3eb2
1 changed files with 5 additions and 5 deletions
|
@ -268,7 +268,7 @@ void PreviewJobPrivate::startPreview()
|
|||
mimesMap.insert(pluginmime, plugin);
|
||||
}
|
||||
} else {
|
||||
kDebug() << "Plugin is disabled" << plugin->desktopEntryName();
|
||||
kDebug(7007) << "Plugin is disabled" << plugin->desktopEntryName();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -285,7 +285,7 @@ void PreviewJobPrivate::startPreview()
|
|||
foreach (const KService::Ptr offer, offers) {
|
||||
if (enabledPlugins.contains(offer->desktopEntryName())) {
|
||||
itemplugin = offer;
|
||||
kDebug() << "Preferred match for" << itemmime << itemplugin->library();
|
||||
kDebug(7007) << "Preferred match for" << itemmime << itemplugin->library();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -299,7 +299,7 @@ void PreviewJobPrivate::startPreview()
|
|||
const QString globmime = pluginmime.mid(0, pluginmime.size() - 1);
|
||||
if (itemmime.startsWith(globmime)) {
|
||||
itemplugin = it.value();
|
||||
kDebug() << "Glob match for" << itemmime << itemplugin->library();
|
||||
kDebug(7007) << "Glob match for" << itemmime << itemplugin->library();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -308,7 +308,7 @@ void PreviewJobPrivate::startPreview()
|
|||
const KMimeType::Ptr mimeInfo = KMimeType::mimeType(pluginmime);
|
||||
if (mimeInfo && mimeInfo->is(itemmime)) {
|
||||
itemplugin = it.value();
|
||||
kDebug() << "MIME match for" << itemmime << itemplugin->library();
|
||||
kDebug(7007) << "MIME match for" << itemmime << itemplugin->library();
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -326,7 +326,7 @@ void PreviewJobPrivate::startPreview()
|
|||
bNeedCache = true;
|
||||
}
|
||||
} else {
|
||||
kDebug() << "No match for" << itemmime << enabledPlugins;
|
||||
kDebug(7007) << "No match for" << itemmime << enabledPlugins;
|
||||
emit q->failed(kit);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue