summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <notmart@gmail.com>2017-01-23 19:57:01 (GMT)
committerMarco Martin <notmart@gmail.com>2017-01-23 19:57:01 (GMT)
commit7993cd433ca68a0136a990d3f1710a6360024fe9 (patch)
tree6ebe9f56fd8e90796e4251c17d2e00752c066b8d
parentbe4cff0ed1dea4515751210b7db9fe3f29ddd037 (diff)
use KPluginMetaData::readStringList
use the correct form to read a qstringlist from kpluginmetadata
-rw-r--r--applets/kicker/plugin/containmentinterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/kicker/plugin/containmentinterface.cpp b/applets/kicker/plugin/containmentinterface.cpp
index 843bbef..1ce6a99 100644
--- a/applets/kicker/plugin/containmentinterface.cpp
+++ b/applets/kicker/plugin/containmentinterface.cpp
@@ -142,7 +142,7 @@ void ContainmentInterface::addLauncher(QObject *appletInterface, ContainmentInte
return;
}
- const QStringList &containmentProvides = containment->pluginInfo().property(QStringLiteral("X-Plasma-Provides")).value<QStringList>();
+ const QStringList &containmentProvides = KPluginMetaData::readStringList(containment->pluginMetaData().rawData(), QStringLiteral("X-Plasma-Provides"));
if (containmentProvides.contains(QLatin1String("org.kde.plasma.filemanagement"))) {
QQuickItem* gObj = qobject_cast<QQuickItem *>(containment->property("_plasma_graphicObject").value<QObject *>());