diff options
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r-- | common/genericresource.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp index 734c1b5..a86b518 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp | |||
@@ -6,9 +6,9 @@ | |||
6 | #include "createentity_generated.h" | 6 | #include "createentity_generated.h" |
7 | #include "domainadaptor.h" | 7 | #include "domainadaptor.h" |
8 | #include "commands.h" | 8 | #include "commands.h" |
9 | #include "clientapi.h" | ||
10 | #include "index.h" | 9 | #include "index.h" |
11 | #include "log.h" | 10 | #include "log.h" |
11 | #include "definitions.h" | ||
12 | 12 | ||
13 | using namespace Akonadi2; | 13 | using namespace Akonadi2; |
14 | 14 | ||
@@ -154,8 +154,8 @@ private: | |||
154 | 154 | ||
155 | GenericResource::GenericResource(const QByteArray &resourceInstanceIdentifier, const QSharedPointer<Pipeline> &pipeline) | 155 | GenericResource::GenericResource(const QByteArray &resourceInstanceIdentifier, const QSharedPointer<Pipeline> &pipeline) |
156 | : Akonadi2::Resource(), | 156 | : Akonadi2::Resource(), |
157 | mUserQueue(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/akonadi2/storage", resourceInstanceIdentifier + ".userqueue"), | 157 | mUserQueue(Akonadi2::storageLocation(), resourceInstanceIdentifier + ".userqueue"), |
158 | mSynchronizerQueue(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/akonadi2/storage", resourceInstanceIdentifier + ".synchronizerqueue"), | 158 | mSynchronizerQueue(Akonadi2::storageLocation(), resourceInstanceIdentifier + ".synchronizerqueue"), |
159 | mResourceInstanceIdentifier(resourceInstanceIdentifier), | 159 | mResourceInstanceIdentifier(resourceInstanceIdentifier), |
160 | mPipeline(pipeline ? pipeline : QSharedPointer<Akonadi2::Pipeline>::create(resourceInstanceIdentifier)), | 160 | mPipeline(pipeline ? pipeline : QSharedPointer<Akonadi2::Pipeline>::create(resourceInstanceIdentifier)), |
161 | mError(0) | 161 | mError(0) |