summary refs log tree commit diff
path: root/src/notifications
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2021-01-20 16:52:37 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2021-01-20 16:52:37 -0500
commit89304a5c6b1b1fd02bcecd887aabc2b164d6d86a (patch)
tree346f6b775e2ffbe3a1c7e06ed55c5cbb13e9a071 /src/notifications
parentFix error in assignment of image/text (diff)
downloadnheko-89304a5c6b1b1fd02bcecd887aabc2b164d6d86a.tar.xz
Fix crash
Diffstat (limited to 'src/notifications')
-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 2c15a712..326803b2 100644 --- a/src/notifications/ManagerLinux.cpp +++ b/src/notifications/ManagerLinux.cpp
@@ -78,7 +78,7 @@ NotificationsManager::postNotification(const QString &roomid, auto call = notifyApp.asyncCallWithArgumentList("Notify", argumentList); auto watcher = new QDBusPendingCallWatcher{QDBusPendingCall{QDBusPendingReply{call}}}; connect( - watcher, &QDBusPendingCallWatcher::finished, this, [watcher, this, &roomid, &eventid]() { + watcher, &QDBusPendingCallWatcher::finished, this, [watcher, this, roomid, eventid]() { if (watcher->reply().type() == QDBusMessage::ErrorMessage) qDebug() << "D-Bus Error:" << watcher->reply().errorMessage(); else