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
wilder-5.14
David Edmundson 9 years ago
parent d67754ab37
commit 278cca4e25
  1. 3
      dataengines/calendar/calendarengine.cpp
  2. 3
      dataengines/mpris2/mpris2engine.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()

@ -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);

Loading…
Cancel
Save