summaryrefslogtreecommitdiffstats
path: root/common/resultprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/resultprovider.h')
-rw-r--r--common/resultprovider.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/common/resultprovider.h b/common/resultprovider.h
index d94ad44..08a7d53 100644
--- a/common/resultprovider.h
+++ b/common/resultprovider.h
@@ -362,8 +362,12 @@ public:
362 362
363 void fetch(const DomainType &parent) Q_DECL_OVERRIDE 363 void fetch(const DomainType &parent) Q_DECL_OVERRIDE
364 { 364 {
365 for (const auto &emitter : mEmitter) { 365 if (mEmitter.isEmpty()) {
366 emitter->fetch(parent); 366 this->initialResultSetComplete(parent);
367 } else {
368 for (const auto &emitter : mEmitter) {
369 emitter->fetch(parent);
370 }
367 } 371 }
368 } 372 }
369 373