From 8a0ce463da3b245c8693c4cbd54d41514babf2ad Mon Sep 17 00:00:00 2001 From: Klaas Freitag Date: Wed, 9 Mar 2016 17:22:19 +0100 Subject: [PATCH] Notifications: Properly delete the notification check job. --- src/gui/activitywidget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp index 07bf75d764..2a1fb7ee0a 100644 --- a/src/gui/activitywidget.cpp +++ b/src/gui/activitywidget.cpp @@ -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