From ffdbd9aefec44e2c32431d32b430ad1fe3385e28 Mon Sep 17 00:00:00 2001 From: Bharadwaj Raju Date: Sun, 31 Jan 2021 18:57:12 +0530 Subject: [PATCH] Fix notifications in the KDE Connect plasmoid Corrects the DBus path to use for notifications, so now notifications appear in the KDE Connect plasmoid as they should. BUG: 432337 --- interfaces/dbusinterfaces.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/dbusinterfaces.cpp b/interfaces/dbusinterfaces.cpp index a32f9038c..59c62acf1 100644 --- a/interfaces/dbusinterfaces.cpp +++ b/interfaces/dbusinterfaces.cpp @@ -67,7 +67,7 @@ BatteryDbusInterface::BatteryDbusInterface(const QString& id, QObject* parent) BatteryDbusInterface::~BatteryDbusInterface() = default; DeviceNotificationsDbusInterface::DeviceNotificationsDbusInterface(const QString& id, QObject* parent) - : OrgKdeKdeconnectDeviceNotificationsInterface(DaemonDbusInterface::activatedService(), QStringLiteral("/modules/kdeconnect/devices/") +id, DBusHelper::sessionBus(), parent) + : OrgKdeKdeconnectDeviceNotificationsInterface(DaemonDbusInterface::activatedService(), QStringLiteral("/modules/kdeconnect/devices/") + id + QStringLiteral("/notifications"), DBusHelper::sessionBus(), parent) { }