diff --git a/kded/daemon.cpp b/kded/daemon.cpp --- a/kded/daemon.cpp +++ b/kded/daemon.cpp @@ -42,9 +42,7 @@ #include #include -K_PLUGIN_FACTORY_WITH_JSON(KScreenDaemonFactory, - "kscreen.json", - registerPlugin();) +K_PLUGIN_CLASS_WITH_JSON(KScreenDaemon, "kscreen.json") KScreenDaemon::KScreenDaemon(QObject* parent, const QList< QVariant >& ) : KDEDModule(parent)