summaryrefslogtreecommitdiffstats
path: root/common/store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/store.cpp')
-rw-r--r--common/store.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/store.cpp b/common/store.cpp
index 2c1dcad..bedbc47 100644
--- a/common/store.cpp
+++ b/common/store.cpp
@@ -47,8 +47,8 @@ QString Store::storageLocation()
47 47
48static QList<QByteArray> getResources(const QList<QByteArray> &resourceFilter, const QByteArray &type = QByteArray()) 48static QList<QByteArray> getResources(const QList<QByteArray> &resourceFilter, const QByteArray &type = QByteArray())
49{ 49{
50 // Return the global resource (signified by an empty name) for types that don't eblong to a specific resource 50 // Return the global resource (signified by an empty name) for types that don't belong to a specific resource
51 if (type == "sinkresource") { 51 if (type == "sinkresource" || type == "sinkaccount") {
52 return QList<QByteArray>() << ""; 52 return QList<QByteArray>() << "";
53 } 53 }
54 QList<QByteArray> resources; 54 QList<QByteArray> resources;
@@ -252,5 +252,6 @@ REGISTER_TYPE(ApplicationDomain::Event);
252REGISTER_TYPE(ApplicationDomain::Mail); 252REGISTER_TYPE(ApplicationDomain::Mail);
253REGISTER_TYPE(ApplicationDomain::Folder); 253REGISTER_TYPE(ApplicationDomain::Folder);
254REGISTER_TYPE(ApplicationDomain::SinkResource); 254REGISTER_TYPE(ApplicationDomain::SinkResource);
255REGISTER_TYPE(ApplicationDomain::SinkAccount);
255 256
256} // namespace Sink 257} // namespace Sink