Commit 1834f796 authored by Albert Astals Cid's avatar Albert Astals Cid

Use the nicer K_PLUGIN_CLASS_WITH_JSON

Reviewers: davidedmundson

Reviewed By: davidedmundson

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18026
parent 25083d97
......@@ -42,9 +42,7 @@
#include <QAction>
#include <QShortcut>
K_PLUGIN_FACTORY_WITH_JSON(KScreenDaemonFactory,
"kscreen.json",
registerPlugin<KScreenDaemon>();)
K_PLUGIN_CLASS_WITH_JSON(KScreenDaemon, "kscreen.json")
KScreenDaemon::KScreenDaemon(QObject* parent, const QList< QVariant >& )
: KDEDModule(parent)
......
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