Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Fella <nicolas.fella@gmx.de>2020-04-14 22:37:49 +0300
committerNicolas Fella <nicolas.fella@gmx.de>2020-04-14 22:38:33 +0300
commit29fa924853f8d4075ebc48cd10a32f3b8babf8d3 (patch)
tree2fc875248daf4bb399c12c419fea05cc3bd95fe6 /src/gui/systray.cpp
parent2f54e911b7d23653ca4aa89041e5749726a8c3c5 (diff)
Use LINUX_APPLICATION_ID
Signed-off-by: Nicolas Fella <nicolas.fella@gmx.de>
Diffstat (limited to 'src/gui/systray.cpp')
-rw-r--r--src/gui/systray.cpp2
1 files changed, 1 insertions, 1 deletions
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<QVariant> args = QList<QVariant>() << APPLICATION_NAME << quint32(0) << APPLICATION_ICON_NAME
<< title << message << QStringList() << hints << qint32(-1);
QDBusMessage method = QDBusMessage::createMethodCall(NOTIFICATIONS_SERVICE, NOTIFICATIONS_PATH, NOTIFICATIONS_IFACE, "Notify");