From: Nicolas Fella Date: Tue, 14 Apr 2020 19:37:49 +0000 (+0200) Subject: Use LINUX_APPLICATION_ID X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~222^2^2~287^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=29fa924853f8d4075ebc48cd10a32f3b8babf8d3;p=nextcloud-desktop.git Use LINUX_APPLICATION_ID Signed-off-by: Nicolas Fella --- 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");