summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJamey Hicks <jamey.hicks@nokia.com>2012-03-26 18:14:57 -0400
committerQt by Nokia <qt-info@nokia.com>2012-04-02 19:20:26 +0200
commit4321c32604c65c9e80ff6cd0b706afdbdd7ec165 (patch)
treec49d2d2ddc56387b371a0c337b41f5f051c56e42 /tools
parenta681a2cfa3fbf69891b0455c87e3f141c89e5645 (diff)
Fixes stateNumber on historical notifications
Also, eliminates magic initialStateNumber -1. If state number is specified and is less than current state, then notifications are sent for a summary historical changes. Starting from initial state 0 will yield all changes up to the current state. Fixes bug #7276 and bug #4665 Change-Id: Ica7fcfc5e6513c3854964a107fc81b032f535bec Reviewed-by: Kevin Simons <kevin.simons@nokia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/jsondb-client/client.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/jsondb-client/client.cpp b/tools/jsondb-client/client.cpp
index aba2bcb..14e9b29 100644
--- a/tools/jsondb-client/client.cpp
+++ b/tools/jsondb-client/client.cpp
@@ -268,8 +268,6 @@ void Client::onNotificationsAvailable(int)
actionString = QStringLiteral("update"); break;
case QtJsonDb::QJsonDbWatcher::Removed:
actionString = QStringLiteral("remove"); break;
- case QtJsonDb::QJsonDbWatcher::StateChanged:
- actionString = QStringLiteral("stateChange"); break;
case QtJsonDb::QJsonDbWatcher::All: break;
}