Commit 8b6a32f1 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[kcms/landingpage] Remove unneeded KAboutData

The information is read from the JSON metadata
parent 9f32d7fd
......@@ -8,7 +8,6 @@
#include "landingpage.h"
#include <KAboutData>
#include <KCModuleInfo>
#include <KColorScheme>
#include <KLocalizedString>
......@@ -156,8 +155,8 @@ QString LookAndFeelGroup::thumbnail() const
;
}
KCMLandingPage::KCMLandingPage(QObject *parent, const QVariantList &args)
: KQuickAddons::ManagedConfigModule(parent, args)
KCMLandingPage::KCMLandingPage(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args)
: KQuickAddons::ManagedConfigModule(parent, metaData, args)
, m_data(new LandingPageData(this))
{
qmlRegisterAnonymousType<LandingPageGlobalsSettings>("org.kde.plasma.landingpage.kcm", 0);
......@@ -167,15 +166,6 @@ KCMLandingPage::KCMLandingPage(QObject *parent, const QVariantList &args)
qmlRegisterAnonymousType<MostUsedModel>("org.kde.plasma.landingpage.kcm", 0);
qmlRegisterAnonymousType<LookAndFeelGroup>("org.kde.plasma.landingpage.kcm", 0);
KAboutData *about = new KAboutData(QStringLiteral("kcm_landingpage"),
i18n("Quick Settings"),
QStringLiteral("1.1"),
i18n("Landing page with some basic settings."),
KAboutLicense::GPL);
about->addAuthor(i18n("Marco Martin"), QString(), QStringLiteral("mart@kde.org"));
setAboutData(about);
setButtons(Apply | Help);
m_mostUsedModel = new MostUsedModel(this);
......
......@@ -84,7 +84,7 @@ class KCMLandingPage : public KQuickAddons::ManagedConfigModule
Q_PROPERTY(LookAndFeelGroup *defaultDarkLookAndFeel READ defaultDarkLookAndFeel CONSTANT)
public:
KCMLandingPage(QObject *parent, const QVariantList &args);
KCMLandingPage(QObject *parent, const KPluginMetaData &metaData, const QVariantList &args);
~KCMLandingPage() override
{
}
......
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