summary refs log tree commit diff
path: root/src/notifications/ManagerLinux.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-01-19 18:46:25 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-01-19 18:46:25 -0500
commite2d89e093adcd8107f3e0ec891f28a25e400883f (patch)
tree3c8d4789c9bd69cc73367377cd270d624e2cd0cc /src/notifications/ManagerLinux.cpp
parentKeep DBUS from blocking (diff)
downloadnheko-e2d89e093adcd8107f3e0ec891f28a25e400883f.tar.xz
Use async call
Diffstat (limited to 'src/notifications/ManagerLinux.cpp')
-rw-r--r--src/notifications/ManagerLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifications/ManagerLinux.cpp b/src/notifications/ManagerLinux.cpp

index ed5b60a2..451e23b2 100644 --- a/src/notifications/ManagerLinux.cpp +++ b/src/notifications/ManagerLinux.cpp
@@ -76,7 +76,7 @@ NotificationsManager::postNotification(const QString &roomid, "/org/freedesktop/Notifications", "org.freedesktop.Notifications"); auto call = - notifyApp.callWithArgumentList(QDBus::AutoDetect, "Notify", argumentList); + notifyApp.asyncCallWithArgumentList("Notify", argumentList); QDBusPendingCallWatcher watcher{QDBusPendingReply{call}}; connect(&watcher, &QDBusPendingCallWatcher::finished, this, [&watcher, this, &roomid, &eventid]() { if (watcher.reply().type() == QDBusMessage::ErrorMessage)