summaryrefslogtreecommitdiffstats
path: root/common/datastorequery.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-06-19 10:29:20 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-06-19 11:15:19 +0200
commitb940489ed6afe413339a1c602d05f3b4f3133463 (patch)
tree84b79d47236d83d2e6ae1833105885a885e4ce99 /common/datastorequery.cpp
parent077e3cb30ace5f6ee20ee15e0d32d2bfb197fde0 (diff)
downloadsink-b940489ed6afe413339a1c602d05f3b4f3133463.tar.gz
sink-b940489ed6afe413339a1c602d05f3b4f3133463.zip
Asserts, debug messages and other cleanup
Diffstat (limited to 'common/datastorequery.cpp')
-rw-r--r--common/datastorequery.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/datastorequery.cpp b/common/datastorequery.cpp
index 263d3ea..0195cfc 100644
--- a/common/datastorequery.cpp
+++ b/common/datastorequery.cpp
@@ -319,6 +319,7 @@ public:
319 //For removals we have to read the last revision to get a value, and thus be able to find the correct thread. 319 //For removals we have to read the last revision to get a value, and thus be able to find the correct thread.
320 QVariant reductionValue; 320 QVariant reductionValue;
321 readPrevious(result.entity.identifier(), [&] (const ApplicationDomain::ApplicationDomainType &prev) { 321 readPrevious(result.entity.identifier(), [&] (const ApplicationDomain::ApplicationDomainType &prev) {
322 Q_ASSERT(result.entity.identifier() == prev.identifier());
322 reductionValue = prev.getProperty(mReductionProperty); 323 reductionValue = prev.getProperty(mReductionProperty);
323 }); 324 });
324 return reductionValue; 325 return reductionValue;