Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Workspace
Commits
a31ba03f
Commit
a31ba03f
authored
Apr 10, 2022
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
applets/systemmonitor/systemmonitor/systemmonitor.cpp
View file @
a31ba03f
...
...
@@ -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
().
m
eta
d
ata
().
pluginId
();
const
QString
pluginId
=
pluginM
eta
D
ata
().
pluginId
();
// FIXME HACK: better way to get the engine At least AppletQuickItem should have an engine() getter
KDeclarative
::
QmlObjectSharedEngine
*
qmlObject
=
new
KDeclarative
::
QmlObjectSharedEngine
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment