summaryrefslogtreecommitdiffstats
path: root/common/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/resource.cpp')
-rw-r--r--common/resource.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/resource.cpp b/common/resource.cpp
index 4541726..8c448a8 100644
--- a/common/resource.cpp
+++ b/common/resource.cpp
@@ -27,7 +27,7 @@
27 27
28#include "facadefactory.h" 28#include "facadefactory.h"
29 29
30namespace Akonadi2 30namespace Sink
31{ 31{
32 32
33Resource::Resource() 33Resource::Resource()
@@ -94,8 +94,8 @@ ResourceFactory *ResourceFactory::load(const QString &resourceName)
94 if (path.endsWith(QLatin1String("plugins"))) { 94 if (path.endsWith(QLatin1String("plugins"))) {
95 QDir pluginDir(path); 95 QDir pluginDir(path);
96 //TODO: centralize this so that it is easy to change centrally 96 //TODO: centralize this so that it is easy to change centrally
97 // also ref'd in cmake as ${AKONADI_RESOURCE_PLUGINS_PATH} 97 // also ref'd in cmake as ${SINK_RESOURCE_PLUGINS_PATH}
98 pluginDir.cd(QStringLiteral("akonadi2")); 98 pluginDir.cd(QStringLiteral("sink"));
99 pluginDir.cd(QStringLiteral("resources")); 99 pluginDir.cd(QStringLiteral("resources"));
100 100
101 for (const QString &fileName: pluginDir.entryList(QDir::Files)) { 101 for (const QString &fileName: pluginDir.entryList(QDir::Files)) {
@@ -128,4 +128,4 @@ ResourceFactory *ResourceFactory::load(const QString &resourceName)
128 return nullptr; 128 return nullptr;
129} 129}
130 130
131} // namespace Akonadi2 131} // namespace Sink