summaryrefslogtreecommitdiffstats
path: root/common/facade.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/facade.h')
-rw-r--r--common/facade.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/facade.h b/common/facade.h
index d53ec4a..dab1578 100644
--- a/common/facade.h
+++ b/common/facade.h
@@ -56,8 +56,8 @@ public:
56 if (mLatestRevision == newRevision && mLatestRevision > 0) { 56 if (mLatestRevision == newRevision && mLatestRevision > 0) {
57 return KAsync::null<void>(); 57 return KAsync::null<void>();
58 } 58 }
59 return queryFunction(mLatestRevision + 1, newRevision).then<void, qint64>([this](qint64 revision) { 59 return queryFunction(mLatestRevision, newRevision).then<void, qint64>([this](qint64 revision) {
60 mLatestRevision = revision; 60 mLatestRevision = revision + 1;
61 }).then<void>([](){}); 61 }).then<void>([](){});
62 } 62 }
63 63