summaryrefslogtreecommitdiffstats
path: root/sinksh/sinksh_utils.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-15 10:44:25 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-12-15 10:44:25 +0100
commitd09517a4d4fcdf496c0298ef8b8f54f3c9120293 (patch)
tree7b35e8ebe88ae5ff47387deb428c3ff8da42d28e /sinksh/sinksh_utils.cpp
parent4e9f8f2590f55b39b9ff70d2c375fc2d25d2500d (diff)
downloadsink-d09517a4d4fcdf496c0298ef8b8f54f3c9120293.tar.gz
sink-d09517a4d4fcdf496c0298ef8b8f54f3c9120293.zip
sinksh fixes
Diffstat (limited to 'sinksh/sinksh_utils.cpp')
-rw-r--r--sinksh/sinksh_utils.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/sinksh/sinksh_utils.cpp b/sinksh/sinksh_utils.cpp
index 855a8e7..c42fad3 100644
--- a/sinksh/sinksh_utils.cpp
+++ b/sinksh/sinksh_utils.cpp
@@ -56,9 +56,9 @@ StoreBase &getStore(const QString &type)
56 return store; 56 return store;
57 } 57 }
58 58
59 qWarning() << "Trying to get a store that doesn't exist, falling back to event"; 59 SinkWarning_("", "") << "Trying to get a store that doesn't exist: " << type;
60 Q_ASSERT(false); 60 Q_ASSERT(false);
61 static Store<Sink::ApplicationDomain::Event> store; 61 static Store<Sink::ApplicationDomain::ApplicationDomainType> store;
62 return store; 62 return store;
63} 63}
64 64
@@ -67,7 +67,8 @@ QList<QByteArray> requestedProperties(const QString &type)
67 using namespace Sink::ApplicationDomain; 67 using namespace Sink::ApplicationDomain;
68 if (type == getTypeName<Folder>()) { 68 if (type == getTypeName<Folder>()) {
69 return QList<QByteArray>() << Folder::Name::name 69 return QList<QByteArray>() << Folder::Name::name
70 << Folder::Parent::name; 70 << Folder::Parent::name
71 << Folder::SpecialPurpose::name;
71 } else if (type == getTypeName<Mail>()) { 72 } else if (type == getTypeName<Mail>()) {
72 return QList<QByteArray>() << Mail::Subject::name 73 return QList<QByteArray>() << Mail::Subject::name
73 << Mail::Folder::name 74 << Mail::Folder::name