From d56b0ba5da31a91a3bfd2d088f8a3f9095ad64f9 Mon Sep 17 00:00:00 2001 From: Raoul Hecky Date: Tue, 14 Nov 2017 09:06:41 +0000 Subject: [PATCH] Do not update change number if db is clean --- src/MPDevice.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/MPDevice.cpp b/src/MPDevice.cpp index f4ed3cff..411f68f0 100644 --- a/src/MPDevice.cpp +++ b/src/MPDevice.cpp @@ -4354,6 +4354,13 @@ void MPDevice::setDataNode(const QString &service, const QByteArray &nodeData, { getChangeNumbers(); } + else + { + set_credentialsDbChangeNumber(0); + credentialsDbChangeNumberClone = 0; + set_dataDbChangeNumber(0); + dataDbChangeNumberClone = 0; + } }); connect(jobs, &AsyncJobs::failed, [=](AsyncJob *failedJob) @@ -6048,6 +6055,10 @@ void MPDevice::startIntegrityCheck(std::function