From 2c0315f31e322c3a951e5aad8816723440ae860d Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 25 May 2015 17:00:51 +0200 Subject: Refactored query in facade First prepare the result set, then retrieve it. --- examples/dummyresource/facade.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/dummyresource/facade.h') diff --git a/examples/dummyresource/facade.h b/examples/dummyresource/facade.h index 41fb3f3..7c894f1 100644 --- a/examples/dummyresource/facade.h +++ b/examples/dummyresource/facade.h @@ -37,5 +37,5 @@ public: KAsync::Job load(const Akonadi2::Query &query, const QSharedPointer > &resultProvider, qint64 oldRevision, qint64 newRevision) Q_DECL_OVERRIDE; private: - void readValue(QSharedPointer storage, const QByteArray &key, const std::function &resultCallback, std::function); + void readValue(const QSharedPointer &storage, const QByteArray &key, const std::function &resultCallback); }; -- cgit v1.2.3