From 709f24f25b6c22b1eafc323855ea166034110e0b Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 3 Jun 2016 11:13:41 +0200 Subject: Using the entityStore to read anything except the current revision is probably a bad idea. --- common/sourcewriteback.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common') diff --git a/common/sourcewriteback.h b/common/sourcewriteback.h index 8470e00..6c6eaab 100644 --- a/common/sourcewriteback.h +++ b/common/sourcewriteback.h @@ -45,13 +45,13 @@ protected: virtual KAsync::Job replay(const Sink::ApplicationDomain::Mail &, Sink::Operation, const QByteArray &oldRemoteId); virtual KAsync::Job replay(const Sink::ApplicationDomain::Folder &, Sink::Operation, const QByteArray &oldRemoteId); - //Read only access to main storage - EntityStore &store(); - //Read/Write access to sync storage RemoteIdMap &syncStore(); private: + //Read only access to main storage + EntityStore &store(); + Sink::Storage mSyncStorage; QSharedPointer mSyncStore; QSharedPointer mEntityStore; -- cgit v1.2.3