summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmundson <kde@davidedmundson.co.uk>2017-02-11 10:21:15 (GMT)
committerDavid Edmundson <kde@davidedmundson.co.uk>2017-02-11 10:21:16 (GMT)
commit278cca4e25d9b4e17b98bfde683a78ecc830fb2e (patch)
tree0e3ebaca2f5dce26e2d27a7f889e81fccab2fffb
parentd67754ab3749663151350030b8ddf04ea32315cf (diff)
Pass args to DataEngine superclass constructor
Summary: This is needed so Plasma::DataEngine can construct the metadata Test Plan: Debug. Lots of debug. Reviewers: #plasma, broulik Reviewed By: #plasma, broulik Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D4554
-rw-r--r--dataengines/calendar/calendarengine.cpp3
-rw-r--r--dataengines/mpris2/mpris2engine.cpp3
2 files changed, 2 insertions, 4 deletions
diff --git a/dataengines/calendar/calendarengine.cpp b/dataengines/calendar/calendarengine.cpp
index 6b4aee5..0263a73 100644
--- a/dataengines/calendar/calendarengine.cpp
+++ b/dataengines/calendar/calendarengine.cpp
@@ -37,9 +37,8 @@
#endif
CalendarEngine::CalendarEngine(QObject* parent, const QVariantList& args)
- : Plasma::DataEngine(parent)
+ : Plasma::DataEngine(parent, args)
{
- Q_UNUSED(args);
}
CalendarEngine::~CalendarEngine()
diff --git a/dataengines/mpris2/mpris2engine.cpp b/dataengines/mpris2/mpris2engine.cpp
index fa494d0..044f5cf 100644
--- a/dataengines/mpris2/mpris2engine.cpp
+++ b/dataengines/mpris2/mpris2engine.cpp
@@ -32,9 +32,8 @@
Mpris2Engine::Mpris2Engine(QObject* parent,
const QVariantList& args)
- : Plasma::DataEngine(parent)
+ : Plasma::DataEngine(parent, args)
{
- Q_UNUSED(args)
connect(QDBusConnection::sessionBus().interface(), &QDBusConnectionInterface::serviceOwnerChanged,
this, &Mpris2Engine::serviceOwnerChanged);