diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-31 09:48:32 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-31 09:48:32 +0200 |
commit | cec73d506f6481631c1aa508f5e470e348e462da (patch) | |
tree | 61036ff0fc89be2b2a5ef68b0a24df4d94eb41d2 /common/changereplay.h | |
parent | 8588cd99ee9f3ba92a7167be3752fe511200131b (diff) | |
download | sink-cec73d506f6481631c1aa508f5e470e348e462da.tar.gz sink-cec73d506f6481631c1aa508f5e470e348e462da.zip |
Open a valid database also in the NullChangeReplay and skip internal keys
Diffstat (limited to 'common/changereplay.h')
-rw-r--r-- | common/changereplay.h | 4 |
1 files changed, 2 insertions, 2 deletions
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: | |||
59 | 59 | ||
60 | class NullChangeReplay : public ChangeReplay | 60 | class NullChangeReplay : public ChangeReplay |
61 | { | 61 | { |
62 | public: | 62 | public: |
63 | NullChangeReplay() : ChangeReplay("null") {} | 63 | NullChangeReplay(const QByteArray &resourceName) : ChangeReplay(resourceName) {} |
64 | KAsync::Job<void> replay(const QByteArray &type, const QByteArray &key, const QByteArray &value) Q_DECL_OVERRIDE { return KAsync::null<void>(); } | 64 | KAsync::Job<void> replay(const QByteArray &type, const QByteArray &key, const QByteArray &value) Q_DECL_OVERRIDE { return KAsync::null<void>(); } |
65 | }; | 65 | }; |
66 | 66 | ||