diff options
Diffstat (limited to 'common/resource.cpp')
-rw-r--r-- | common/resource.cpp | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/common/resource.cpp b/common/resource.cpp index 8c448a8..5cbb2f2 100644 --- a/common/resource.cpp +++ b/common/resource.cpp | |||
@@ -34,7 +34,7 @@ Resource::Resource() | |||
34 | : QObject(), | 34 | : QObject(), |
35 | d(0) | 35 | d(0) |
36 | { | 36 | { |
37 | 37 | Q_UNUSED(d); | |
38 | } | 38 | } |
39 | 39 | ||
40 | Resource::~Resource() | 40 | Resource::~Resource() |
@@ -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: |
@@ -75,7 +80,7 @@ ResourceFactory::ResourceFactory(QObject *parent) | |||
75 | : QObject(parent), | 80 | : QObject(parent), |
76 | d(0) | 81 | d(0) |
77 | { | 82 | { |
78 | 83 | Q_UNUSED(d); | |
79 | } | 84 | } |
80 | 85 | ||
81 | ResourceFactory::~ResourceFactory() | 86 | ResourceFactory::~ResourceFactory() |
@@ -129,3 +134,9 @@ ResourceFactory *ResourceFactory::load(const QString &resourceName) | |||
129 | } | 134 | } |
130 | 135 | ||
131 | } // namespace Sink | 136 | } // namespace Sink |
137 | |||
138 | //Ignore warning I don't know how to fix in a moc file | ||
139 | #pragma clang diagnostic push | ||
140 | #pragma clang diagnostic ignored "-Wundefined-reinterpret-cast" | ||
141 | #include "moc_resource.cpp" | ||
142 | #pragma clang diagnostic pop | ||