Commit 9ff4e9ab authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use K_PLUGIN_CLASS_WITH_JSON directly

parent 0a388805
Pipeline #121406 passed with stage
in 1 minute and 36 seconds
......@@ -22,7 +22,7 @@ using namespace Kontact;
#include <QHBoxLayout>
#include <QStandardItemModel>
K_PLUGIN_FACTORY_WITH_JSON(KCMKontactSummaryFactory, "kontactconfig.json", registerPlugin<KcmKontact>();)
K_PLUGIN_CLASS_WITH_JSON(KcmKontact, "kontactconfig.json")
KcmKontact::KcmKontact(QWidget *parent, const QVariantList &args)
: KCModule(parent, args)
, mPluginCombo(new QComboBox(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