summaryrefslogtreecommitdiff
path: root/libsowatch/watchserver.h
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2011-11-08 23:26:14 +0100
committerJavier S. Pedro <maemo@javispedro.com>2011-11-08 23:26:14 +0100
commit3733cb7e3c0932ee281fce64c153c7c1fc0f18f9 (patch)
tree0a45326c7c91d584813af419f06f54d20c9b0375 /libsowatch/watchserver.h
parentef80351e6fb029f3d22d62ef5a1873616884d882 (diff)
downloadsowatch-3733cb7e3c0932ee281fce64c153c7c1fc0f18f9.tar.gz
sowatch-3733cb7e3c0932ee281fce64c153c7c1fc0f18f9.zip
fix display of mail notifications when there are already unread mails
Diffstat (limited to 'libsowatch/watchserver.h')
-rw-r--r--libsowatch/watchserver.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsowatch/watchserver.h b/libsowatch/watchserver.h
index 53c1a70..f86d224 100644
--- a/libsowatch/watchserver.h
+++ b/libsowatch/watchserver.h
@@ -64,6 +64,8 @@ private:
QList<Notification*> _notifications[Notification::TypeCount];
/** A list of notifications that are yet to be shown to the user. */
QQueue<Notification*> _pendingNotifications;
+ /** Stores the count of notifications hidden between each notification object. */
+ QMap<Notification*, uint> _notificationCounts;
/** We store a currently live weather forecast. */
WeatherNotification* _weather;