summaryrefslogtreecommitdiffstats
path: root/common/test.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-25 19:18:08 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-25 19:42:27 +0200
commit0f6f34ca2fca81734544b32e8dbc8ee32122bb65 (patch)
tree79bb05d19d6d7f3ec4966b2913b7628d3ad8de0f /common/test.cpp
parent7f0f45c544b3a48feec3226faa8bb3018d542d9c (diff)
downloadsink-0f6f34ca2fca81734544b32e8dbc8ee32122bb65.tar.gz
sink-0f6f34ca2fca81734544b32e8dbc8ee32122bb65.zip
Fixed more warnings and then disabled them
..because there is a boatload more to fix.
Diffstat (limited to 'common/test.cpp')
-rw-r--r--common/test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/test.cpp b/common/test.cpp
index 52d79ca..90dc0b6 100644
--- a/common/test.cpp
+++ b/common/test.cpp
@@ -113,7 +113,7 @@ public:
113 }); 113 });
114 return facade; 114 return facade;
115 } 115 }
116 ~TestFacade(){}; 116 ~TestFacade() Q_DECL_OVERRIDE {};
117 KAsync::Job<void> create(const T &domainObject) Q_DECL_OVERRIDE 117 KAsync::Job<void> create(const T &domainObject) Q_DECL_OVERRIDE
118 { 118 {
119 mTestAccount->addEntity<T>(T::Ptr::create(domainObject)); 119 mTestAccount->addEntity<T>(T::Ptr::create(domainObject));
@@ -158,8 +158,7 @@ public:
158 } 158 }
159 resultProvider->initialResultSetComplete(true); 159 resultProvider->initialResultSetComplete(true);
160 }); 160 });
161 auto job = KAsync::start([query, resultProvider]() {}); 161 return qMakePair(KAsync::null(), emitter);
162 return qMakePair(job, emitter);
163 } 162 }
164 163
165 Test::TestAccount *mTestAccount; 164 Test::TestAccount *mTestAccount;