Commit b0ce5ea6 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Use new constructor for ConfigModule instead of using KAboutData

parent 092714eb
......@@ -6,19 +6,14 @@
#include "accounts.h"
#include <KAboutData>
#include <KLocalizedString>
#include <KPluginFactory>
K_PLUGIN_CLASS_WITH_JSON(AccountsSettings, "kcm_kaccounts.json")
AccountsSettings::AccountsSettings(QObject *parent, const QVariantList &args)
: KQuickAddons::ConfigModule(parent, args)
AccountsSettings::AccountsSettings(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: KQuickAddons::ConfigModule(parent, data, args)
KAboutData *about = new KAboutData(QStringLiteral("kcm_kaccounts"), i18n("Accounts"), QStringLiteral("1.0"), QString(), KAboutLicense::LGPL);
about->addAuthor(i18n("Sebastian Kügler"), QString(), QStringLiteral(""));
about->addAuthor(i18n("Dan Leinir Turthra Jensen"), QString(), QStringLiteral(""), QString(), QStringLiteral("leinir"));
......@@ -16,7 +16,7 @@ class AccountsSettings : public KQuickAddons::ConfigModule
explicit AccountsSettings(QObject *parent, const QVariantList &args);
explicit AccountsSettings(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
~AccountsSettings() override = default;
Supports Markdown
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