go back to the plugin info categories

svn path=/trunk/KDE/kdelibs/; revision=962195
This commit is contained in:
Aaron J. Seigo 2009-05-01 18:01:26 +00:00
parent 359c2145b3
commit 9339d4e96a

View File

@ -891,9 +891,9 @@ KPluginInfo::List Containment::listContainmentsOfType(const QString &type,
constraint.append(" and ");
}
constraint.append("'").append(category).append("' in Keywords");
constraint.append("[X-KDE-PluginInfo-Category] == '").append(category).append("'");
if (category == "Miscellaneous") {
constraint.append(" or not exist Keywords");
constraint.append(" or (not exist [X-KDE-PluginInfo-Category] or [X-KDE-PluginInfo-Category] == '')");
}
}