diff --git a/plasma/applet.cpp b/plasma/applet.cpp index 55bdb7dc3..223a97ddb 100644 --- a/plasma/applet.cpp +++ b/plasma/applet.cpp @@ -407,11 +407,6 @@ KPluginInfo Applet::pluginInfo() const return d->appletDescription; } -QString Applet::category(const KPluginInfo &applet) -{ - return applet.property("X-KDE-PluginInfo-Category").toString(); -} - QString Applet::category(const QString &appletName) { if (appletName.isEmpty()) { diff --git a/plasma/applet.h b/plasma/applet.h index 83a1406a4..638fc04f1 100644 --- a/plasma/applet.h +++ b/plasma/applet.h @@ -284,13 +284,6 @@ class PLASMA_EXPORT Applet : public QObject static Applet *loadPlasmoid(const QString &path, uint appletId = 0, const QVariantList &args = QVariantList()); - /** - * Get the category of the given applet - * - * @param applet a KPluginInfo object for the applet - */ - static QString category(const KPluginInfo &applet); - /** * Get the category of the given applet *