Commit 87788be6 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Remove uneeded default args for plugin constructors

We never call this constructor manually
parent 31ef0c1a
Pipeline #157464 passed with stage
in 5 minutes and 51 seconds
......@@ -40,7 +40,7 @@ class ScreenLockerKcm : public KQuickAddons::ManagedConfigModule
{
Q_OBJECT
public:
explicit ScreenLockerKcm(QObject *parent = nullptr, const KPluginMetaData &data = {}, const QVariantList &args = QVariantList());
explicit ScreenLockerKcm(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
Q_PROPERTY(KScreenSaverSettings *settings READ settings CONSTANT)
Q_PROPERTY(KConfigPropertyMap *wallpaperConfiguration READ wallpaperConfiguration NOTIFY currentWallpaperChanged)
......
......@@ -31,7 +31,7 @@ class KScreenLockerData : public KCModuleData
Q_OBJECT
public:
explicit KScreenLockerData(QObject *parent = nullptr, const QVariantList &args = QVariantList());
explicit KScreenLockerData(QObject *parent, const QVariantList &args);
bool isDefaults() const 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