From b0294dd800c0d9468255e32656151d601ca1090c Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 7 Jun 2023 04:48:36 +0300 Subject: [PATCH] plasma: remove redundant DeviceNotificationsEngine::init() reimplementation Signed-off-by: Ivailo Monev --- .../devicenotifications/devicenotificationsengine.cpp | 4 ---- .../devicenotifications/devicenotificationsengine.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/plasma/dataengines/devicenotifications/devicenotificationsengine.cpp b/plasma/dataengines/devicenotifications/devicenotificationsengine.cpp index 00e8bde1..4eb4f9c7 100644 --- a/plasma/dataengines/devicenotifications/devicenotificationsengine.cpp +++ b/plasma/dataengines/devicenotifications/devicenotificationsengine.cpp @@ -41,10 +41,6 @@ DeviceNotificationsEngine::~DeviceNotificationsEngine() dbus.unregisterService( "org.kde.DeviceNotifications" ); } -void DeviceNotificationsEngine::init() -{ -} - void DeviceNotificationsEngine::notify(int solidError, const QString& error, const QString& errorDetails, const QString &udi) { kDebug() << error << errorDetails << udi; diff --git a/plasma/dataengines/devicenotifications/devicenotificationsengine.h b/plasma/dataengines/devicenotifications/devicenotificationsengine.h index b5f5326a..4189a2c5 100644 --- a/plasma/dataengines/devicenotifications/devicenotificationsengine.h +++ b/plasma/dataengines/devicenotifications/devicenotificationsengine.h @@ -36,8 +36,6 @@ public: DeviceNotificationsEngine( QObject* parent, const QVariantList& args ); ~DeviceNotificationsEngine(); - virtual void init(); - /** * This function implements part of Notifications DBus interface. * Once called, will add notification source to the engine