diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2013-05-11 16:10:50 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2013-05-11 16:10:50 +0200 |
commit | bc899047089079dde323e84a57efe46ce6af653d (patch) | |
tree | c88ef2bc6d1876518b285db15e5a400c6c4795a4 /libsowatch/watchserver.cpp | |
parent | 4b5bbdea7bdb6defc88023ba65f7aec1a7439977 (diff) | |
download | sowatch-bc899047089079dde323e84a57efe46ce6af653d.tar.gz sowatch-bc899047089079dde323e84a57efe46ce6af653d.zip |
add the liveview paint engine
Diffstat (limited to 'libsowatch/watchserver.cpp')
-rw-r--r-- | libsowatch/watchserver.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libsowatch/watchserver.cpp b/libsowatch/watchserver.cpp index f79b1c1..fa4011f 100644 --- a/libsowatch/watchserver.cpp +++ b/libsowatch/watchserver.cpp @@ -9,8 +9,9 @@ using namespace sowatch; WatchServer::WatchServer(Watch* watch, QObject* parent) : QObject(parent), _watch(watch), - _nextWatchletButton(-1), _idleWatchlet(0), _notificationWatchlet(0), + _nextWatchletButton(-1), _oldNotificationThreshold(300), + _idleWatchlet(0), _notificationWatchlet(0), _notifications(new NotificationsModel(this)), _activeWatchlet(0), _currentWatchlet(0), _currentWatchletIndex(-1), _syncTimeTimer(new QTimer(this)) @@ -161,7 +162,6 @@ const NotificationsModel * WatchServer::notifications() const void WatchServer::postNotification(Notification *notification) { - const Notification::Type type = notification->type(); const Notification::Priority priority = notification->priority(); // Add notification to model @@ -401,7 +401,6 @@ void WatchServer::handleNotificationChanged() QObject *obj = sender(); if (obj) { Notification* n = static_cast<Notification*>(obj); - const Notification::Type type = n->type(); const uint lastCount = _notificationCounts[n]; _notificationCounts[n] = n->count(); |