Commit d6ab9470 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use K_PLUGIN_CLASS_WITH_JSON here too

parent 4a812aa2
Pipeline #61483 failed with stage
in 10 minutes and 4 seconds
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
#include <QTreeView> #include <QTreeView>
#include <QVBoxLayout> #include <QVBoxLayout>
K_PLUGIN_FACTORY_WITH_JSON(KCMKMailSummaryFactory, "kmailplugin.json", registerPlugin<KCMKMailSummary>();) K_PLUGIN_CLASS_WITH_JSON(KCMKMailSummary, "kmailplugin.json")
KCMKMailSummary::KCMKMailSummary(QWidget *parent, const QVariantList &args) KCMKMailSummary::KCMKMailSummary(QWidget *parent, const QVariantList &args)
: KCModule(parent, args) : KCModule(parent, args)
{ {
......
...@@ -65,7 +65,7 @@ PluginView::PluginView(QWidget *parent) ...@@ -65,7 +65,7 @@ PluginView::PluginView(QWidget *parent)
PluginView::~PluginView() = default; PluginView::~PluginView() = default;
K_PLUGIN_FACTORY_WITH_JSON(KCMKontactSummaryFactory, "kcmkontactsummary.json", registerPlugin<KCMKontactSummary>();) K_PLUGIN_CLASS_WITH_JSON(KCMKontactSummary, "kcmkontactsummary.json")
KCMKontactSummary::KCMKontactSummary(QWidget *parent, const QVariantList &args) KCMKontactSummary::KCMKontactSummary(QWidget *parent, const QVariantList &args)
: KCModule(parent, args) : KCModule(parent, args)
......
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