From 3733cb7e3c0932ee281fce64c153c7c1fc0f18f9 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Tue, 8 Nov 2011 23:26:14 +0100 Subject: fix display of mail notifications when there are already unread mails --- libsowatch/watchserver.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libsowatch/watchserver.h') 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 _notifications[Notification::TypeCount]; /** A list of notifications that are yet to be shown to the user. */ QQueue _pendingNotifications; + /** Stores the count of notifications hidden between each notification object. */ + QMap _notificationCounts; /** We store a currently live weather forecast. */ WeatherNotification* _weather; -- cgit v1.2.3