Commit a31ba03f authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

applets/systemmonitor: Use KPluginMetaData of Applet directly instead of using KPackage's

parent 2ca0b378
Pipeline #164064 passed with stage
in 5 minutes and 45 seconds
......@@ -45,7 +45,7 @@ void SystemMonitor::init()
// NOTE: taking the pluginId this way, we take it from the child applet (cpu monitor, memory, whatever) rather than the parent fallback applet
// (systemmonitor)
const QString pluginId = kPackage().metadata().pluginId();
const QString pluginId = pluginMetaData().pluginId();
// FIXME HACK: better way to get the engine At least AppletQuickItem should have an engine() getter
KDeclarative::QmlObjectSharedEngine *qmlObject = new KDeclarative::QmlObjectSharedEngine();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment