From 29fa924853f8d4075ebc48cd10a32f3b8babf8d3 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 14 Apr 2020 21:37:49 +0200 Subject: [PATCH] Use LINUX_APPLICATION_ID Signed-off-by: Nicolas Fella --- src/gui/systray.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/systray.cpp b/src/gui/systray.cpp index 0a5d7bfd5..8edd054fc 100644 --- a/src/gui/systray.cpp +++ b/src/gui/systray.cpp @@ -121,7 +121,7 @@ void Systray::showMessage(const QString &title, const QString &message, MessageI { #ifdef USE_FDO_NOTIFICATIONS if (QDBusInterface(NOTIFICATIONS_SERVICE, NOTIFICATIONS_PATH, NOTIFICATIONS_IFACE).isValid()) { - const QVariantMap hints = {{QStringLiteral("desktop-entry"), QStringLiteral("com.nextcloud.desktopclient.nextcloud")}}; + const QVariantMap hints = {{QStringLiteral("desktop-entry"), LINUX_APPLICATION_ID}}; QList args = QList() << APPLICATION_NAME << quint32(0) << APPLICATION_ICON_NAME << title << message << QStringList() << hints << qint32(-1); QDBusMessage method = QDBusMessage::createMethodCall(NOTIFICATIONS_SERVICE, NOTIFICATIONS_PATH, NOTIFICATIONS_IFACE, "Notify"); -- 2.30.2