Commit 280efc80 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Port away from deprecated Plasma::Applet constructor

parent 877db7a2
Pipeline #178610 passed with stage
in 4 minutes and 4 seconds
......@@ -22,8 +22,8 @@
#include <algorithm>
KScreenApplet::KScreenApplet(QObject *parent, const QVariantList &data)
: Plasma::Applet(parent, data)
KScreenApplet::KScreenApplet(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: Plasma::Applet(parent, data, args)
......@@ -21,7 +21,7 @@ class KScreenApplet : public Plasma::Applet
Q_PROPERTY(int connectedOutputCount READ connectedOutputCount NOTIFY connectedOutputCountChanged)
explicit KScreenApplet(QObject *parent, const QVariantList &data);
explicit KScreenApplet(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
~KScreenApplet() override;
enum Action {
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