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-10 16:49:31 +0300
committerKlaas Freitag <freitag@owncloud.com>2016-03-11 12:15:28 +0300
commit903e79a7c4023c6f28377d5323b2401cea0cae92 (patch)
tree075b9f39dafae21cd9169c27996a3f2d568deb7a /src/gui/activitywidget.h
parent8a0ce463da3b245c8693c4cbd54d41514babf2ad (diff)
Notifications: Do a GUI tray notification if new notifciations arrive.
Show a GUI notification once an hour if no new notifications arrive to not annoy users.
Diffstat (limited to 'src/gui/activitywidget.h')
-rw-r--r--src/gui/activitywidget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/activitywidget.h b/src/gui/activitywidget.h
index 7ad8c997b..44b4a170c 100644
--- a/src/gui/activitywidget.h
+++ b/src/gui/activitywidget.h
@@ -199,6 +199,9 @@ private:
QPointer<JsonApiJob> _notificationJob;
ActivityListModel *_model;
QVBoxLayout *_notificationsLayout;
+
+ QElapsedTimer _guiLogTimer;
+ QSet<int> _guiLoggedNotifications;
};