diff options
Diffstat (limited to 'common/store.cpp')
-rw-r--r-- | common/store.cpp | 5 |
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 | ||
48 | static QList<QByteArray> getResources(const QList<QByteArray> &resourceFilter, const QByteArray &type = QByteArray()) | 48 | static 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); | |||
252 | REGISTER_TYPE(ApplicationDomain::Mail); | 252 | REGISTER_TYPE(ApplicationDomain::Mail); |
253 | REGISTER_TYPE(ApplicationDomain::Folder); | 253 | REGISTER_TYPE(ApplicationDomain::Folder); |
254 | REGISTER_TYPE(ApplicationDomain::SinkResource); | 254 | REGISTER_TYPE(ApplicationDomain::SinkResource); |
255 | REGISTER_TYPE(ApplicationDomain::SinkAccount); | ||
255 | 256 | ||
256 | } // namespace Sink | 257 | } // namespace Sink |