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
(cherry picked from commit ffdbd9aefe)
This commit is contained in:
Bharadwaj Raju 2021-01-31 18:57:12 +05:30 committed by Nicolas Fella
parent 7e51bfc170
commit fbc827e373

View file

@ -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)
{
}