From cec73d506f6481631c1aa508f5e470e348e462da Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 31 May 2016 09:48:32 +0200 Subject: Open a valid database also in the NullChangeReplay and skip internal keys --- common/changereplay.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') diff --git a/common/changereplay.h b/common/changereplay.h index a568060..42736ca 100644 --- a/common/changereplay.h +++ b/common/changereplay.h @@ -59,8 +59,8 @@ private: class NullChangeReplay : public ChangeReplay { - public: - NullChangeReplay() : ChangeReplay("null") {} +public: + NullChangeReplay(const QByteArray &resourceName) : ChangeReplay(resourceName) {} KAsync::Job replay(const QByteArray &type, const QByteArray &key, const QByteArray &value) Q_DECL_OVERRIDE { return KAsync::null(); } }; -- cgit v1.2.3