Commit 4fa0636d authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

applets/comic: Port applet away from deprecated constructor

parent 9a1489bb
Pipeline #155330 passed with stage
in 1 minute and 41 seconds
......@@ -40,8 +40,8 @@ Q_GLOBAL_STATIC(ComicUpdater, globalComicUpdater)
const int ComicApplet::CACHE_LIMIT = 20;
ComicApplet::ComicApplet(QObject *parent, const QVariantList &args)
: Plasma::Applet(parent, args)
ComicApplet::ComicApplet(QObject *parent, const KPluginMetaData &data, const QVariantList &args)
: Plasma::Applet(parent, data, args)
, mProxy(nullptr)
, mActiveComicModel(new ActiveComicModel(parent))
, mDifferentComic(true)
......@@ -52,7 +52,7 @@ class ComicApplet : public Plasma::Applet, public Plasma::DataEngineConsumer
Q_PROPERTY(int maxComicLimit READ maxComicLimit WRITE setMaxComicLimit NOTIFY maxComicLimitChanged)
ComicApplet(QObject *parent, const QVariantList &args);
ComicApplet(QObject *parent, const KPluginMetaData &data, const QVariantList &args);
~ComicApplet() override;
void init() 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