summaryrefslogtreecommitdiffstats
path: root/src/corelib/thread/qresultstore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/thread/qresultstore.cpp')
-rw-r--r--src/corelib/thread/qresultstore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/thread/qresultstore.cpp b/src/corelib/thread/qresultstore.cpp
index 1b3bc20eca..0b82b938e1 100644
--- a/src/corelib/thread/qresultstore.cpp
+++ b/src/corelib/thread/qresultstore.cpp
@@ -192,7 +192,7 @@ int ResultStoreBase::addResults(int index, const void *results, int vectorSize,
ResultItem filteredIn(results, vectorSize);
insertResultItem(index, filteredIn);
}
- ResultItem filteredAway(0, totalCount - vectorSize);
+ ResultItem filteredAway(nullptr, totalCount - vectorSize);
return insertResultItem(index + vectorSize, filteredAway);
}
}