diff options
Diffstat (limited to 'sinksh/sinksh_utils.cpp')
-rw-r--r-- | sinksh/sinksh_utils.cpp | 7 |
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 |