diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-07 15:38:08 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-07 15:38:08 +0200 |
commit | 8499c2d29b082f35ac2eb55f7633e0d4103cefe5 (patch) | |
tree | a85e7ab63f8cc96f71d6aca979c3f8d22ca76086 /common/genericresource.h | |
parent | 53d571a4ba75474a6d12d0de6b4059c83578e94b (diff) | |
download | sink-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/genericresource.h')
-rw-r--r-- | common/genericresource.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/genericresource.h b/common/genericresource.h index 97132c2..ec43939 100644 --- a/common/genericresource.h +++ b/common/genericresource.h | |||
@@ -55,7 +55,6 @@ public: | |||
55 | 55 | ||
56 | int error() const; | 56 | int error() const; |
57 | 57 | ||
58 | void removeDataFromDisk() Q_DECL_OVERRIDE; | ||
59 | static void removeFromDisk(const QByteArray &instanceIdentifier); | 58 | static void removeFromDisk(const QByteArray &instanceIdentifier); |
60 | static qint64 diskUsage(const QByteArray &instanceIdentifier); | 59 | static qint64 diskUsage(const QByteArray &instanceIdentifier); |
61 | 60 | ||