[Pkg-owncloud-commits] [owncloud-client] 133/470: Notifications: Properly delete the notification check job.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu May 12 16:24:54 UTC 2016
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 8a0ce463da3b245c8693c4cbd54d41514babf2ad
Author: Klaas Freitag <freitag at owncloud.com>
Date: Wed Mar 9 17:22:19 2016 +0100
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 07bf75d..2a1fb7e 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list