summaryrefslogtreecommitdiffstats
path: root/common/resource.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-07 15:38:08 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-07 15:38:08 +0200
commit8499c2d29b082f35ac2eb55f7633e0d4103cefe5 (patch)
treea85e7ab63f8cc96f71d6aca979c3f8d22ca76086 /common/resource.cpp
parent53d571a4ba75474a6d12d0de6b4059c83578e94b (diff)
downloadsink-8499c2d29b082f35ac2eb55f7633e0d4103cefe5.tar.gz
sink-8499c2d29b082f35ac2eb55f7633e0d4103cefe5.zip
Avoid using the resource object to remove the data from disk.
...because creating it will potentially start transactions on the database we're about to remove.
Diffstat (limited to 'common/resource.cpp')
-rw-r--r--common/resource.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/resource.cpp b/common/resource.cpp
index 82c9fc8..f4c2ad4 100644
--- a/common/resource.cpp
+++ b/common/resource.cpp
@@ -61,10 +61,6 @@ void Resource::setLowerBoundRevision(qint64 revision)
61 Q_UNUSED(revision) 61 Q_UNUSED(revision)
62} 62}
63 63
64void Resource::removeDataFromDisk()
65{
66}
67
68 64
69class ResourceFactory::Private 65class ResourceFactory::Private
70{ 66{