diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-08 21:34:06 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-08 21:34:06 +0100 |
commit | 44744e281a56488c7ef257e12ca379ec4ceb2cdd (patch) | |
tree | 5fd45d6c6cf5e68ba2323fac3f498c6afa6f2ddf /common/resource.cpp | |
parent | d82f0f6e52b601c3067ca70183458f5ce9b22c22 (diff) | |
download | sink-44744e281a56488c7ef257e12ca379ec4ceb2cdd.tar.gz sink-44744e281a56488c7ef257e12ca379ec4ceb2cdd.zip |
Executed database removal in the resource instead of the client.
The resource doesn't really notify all clients properly about the
removal, but the tests all still pass.
Diffstat (limited to 'common/resource.cpp')
-rw-r--r-- | common/resource.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/resource.cpp b/common/resource.cpp index 6972efe..5cbb2f2 100644 --- a/common/resource.cpp +++ b/common/resource.cpp | |||
@@ -63,6 +63,11 @@ void Resource::setLowerBoundRevision(qint64 revision) | |||
63 | Q_UNUSED(revision) | 63 | Q_UNUSED(revision) |
64 | } | 64 | } |
65 | 65 | ||
66 | void Resource::removeDataFromDisk() | ||
67 | { | ||
68 | } | ||
69 | |||
70 | |||
66 | class ResourceFactory::Private | 71 | class ResourceFactory::Private |
67 | { | 72 | { |
68 | public: | 73 | public: |