summaryrefslogtreecommitdiffstats
path: root/common/genericresource.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-05-25 23:14:57 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-05-25 23:14:57 +0200
commit3601ee575f833bf204540f4fac41d87a0d977a79 (patch)
tree740e62969ba7cd6384161b40d499fd63b2029f5f /common/genericresource.cpp
parent9e3bcbdd45ec05d0a1fd423e6219ac6443feed1c (diff)
downloadsink-3601ee575f833bf204540f4fac41d87a0d977a79.tar.gz
sink-3601ee575f833bf204540f4fac41d87a0d977a79.zip
Centralized type specific code.
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r--common/genericresource.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp
index 4467e86..fdc8b14 100644
--- a/common/genericresource.cpp
+++ b/common/genericresource.cpp
@@ -153,11 +153,12 @@ private:
153}; 153};
154 154
155 155
156GenericResource::GenericResource(const QByteArray &resourceIdentifier) 156GenericResource::GenericResource(const QByteArray &resourceInstanceIdentifier)
157 : Akonadi2::Resource(), 157 : Akonadi2::Resource(),
158 mUserQueue(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/akonadi2/storage", "org.kde." + resourceIdentifier + ".userqueue"), 158 mUserQueue(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/akonadi2/storage", "org.kde." + resourceInstanceIdentifier + ".userqueue"),
159 mSynchronizerQueue(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/akonadi2/storage", "org.kde." + resourceIdentifier + ".synchronizerqueue"), 159 mSynchronizerQueue(QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/akonadi2/storage", "org.kde." + resourceInstanceIdentifier + ".synchronizerqueue"),
160 mError(0) 160 mError(0),
161 mResourceInstanceIdentifier(resourceInstanceIdentifier)
161{ 162{
162} 163}
163 164