Commit 6d551e47 authored by Nicolas Fella's avatar Nicolas Fella

Use K_PLUGIN_CLASS_WITH_JSON

Summary: It's a bit nicer than the factory thing

Test Plan: builds, kcm opens

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27581
parent dee0f320
......@@ -264,8 +264,6 @@ bool ScreenLockerKcm::eventFilter(QObject *watched, QEvent *event)
return false;
}
K_PLUGIN_FACTORY_WITH_JSON(ScreenLockerKcmFactory,
"screenlocker.json",
registerPlugin<ScreenLockerKcm>();)
K_PLUGIN_CLASS_WITH_JSON(ScreenLockerKcm, "screenlocker.json")
#include "kcm.moc"
Markdown is supported
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