mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Notifications: Properly delete the notification check job.
This commit is contained in:
parent
7d13a1d8e1
commit
8a0ce463da
@ -509,6 +509,9 @@ void ActivityWidget::slotNotificationsReceived(const QVariantMap& json, int stat
|
||||
list.append(a);
|
||||
}
|
||||
emit newNotificationList( list );
|
||||
|
||||
_notificationJob->deleteLater();
|
||||
_notificationJob = 0;
|
||||
}
|
||||
|
||||
// GUI: Display the notifications
|
||||
|
||||
Loading…
Reference in New Issue
Block a user