Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaas Freitag <freitag@owncloud.com>2016-03-22 12:35:24 +0300
committerKlaas Freitag <freitag@owncloud.com>2016-03-22 12:35:24 +0300
commitad60e8ac8956b7d00045d9e08b75b17125ce1d61 (patch)
tree48124d916f2420e816d43a6094f15b488e6f4596 /src/gui/notificationwidget.cpp
parentd03fcc95e4d50d6978509bca6e7d01085375e917 (diff)
Notifications: Fix handling of notifications to remove from the list.
If a notification is not longer in the list of notifications coming from the server, it needs to be removed from the widget list.
Diffstat (limited to 'src/gui/notificationwidget.cpp')
-rw-r--r--src/gui/notificationwidget.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/notificationwidget.cpp b/src/gui/notificationwidget.cpp
index de28c7c6d..2e398a648 100644
--- a/src/gui/notificationwidget.cpp
+++ b/src/gui/notificationwidget.cpp
@@ -65,6 +65,11 @@ void NotificationWidget::setActivity(const Activity& activity)
}
}
+QString NotificationWidget::accountName() const
+{
+ return _myActivity._accName;
+}
+
void NotificationWidget::slotButtonClicked()
{
QObject *buttonWidget = QObject::sender();