use the standard MimeTypes key, not our own messed up variant of it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696780
This commit is contained in:
parent
6a6c508036
commit
c68077c56e
@ -854,8 +854,8 @@ KPluginInfo::List Applet::knownApplets(const QString &category,
|
||||
|
||||
KPluginInfo::List Applet::knownAppletsForMimetype(const QString &mimetype)
|
||||
{
|
||||
QString constraint = QString("'%1' in [X-Plasma-Mimetypes]").arg(mimetype);
|
||||
kDebug() << constraint;
|
||||
QString constraint = QString("'%1' in MimeTypes").arg(mimetype);
|
||||
//kDebug() << "knownAppletsForMimetype with" << mimetype << constraint;
|
||||
KService::List offers = KServiceTypeTrader::self()->query("Plasma/Applet", constraint);
|
||||
return KPluginInfo::fromServices(offers);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user