summaryrefslogtreecommitdiffstats
path: root/sinksh/sinksh_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sinksh/sinksh_utils.cpp')
-rw-r--r--sinksh/sinksh_utils.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/sinksh/sinksh_utils.cpp b/sinksh/sinksh_utils.cpp
index 0b9a34d..ec07e47 100644
--- a/sinksh/sinksh_utils.cpp
+++ b/sinksh/sinksh_utils.cpp
@@ -48,14 +48,13 @@ StoreBase &getStore(const QString &type)
48 } else if (type == getTypeName<SinkResource>()) { 48 } else if (type == getTypeName<SinkResource>()) {
49 static Store<SinkResource> store; 49 static Store<SinkResource> store;
50 return store; 50 return store;
51 } else if (type == getTypeName<SinkResource>()) { 51 } else if (type == getTypeName<SinkAccount>()) {
52 static Store<SinkAccount> store; 52 static Store<SinkAccount> store;
53 return store; 53 return store;
54 } 54 }
55 55
56 // TODO: reinstate the warning+assert 56 qWarning() << "Trying to get a store that doesn't exist, falling back to event";
57 // Q_ASSERT(false); 57 Q_ASSERT(false);
58 // qWarning() << "Trying to get a store that doesn't exist, falling back to event";
59 static Store<Sink::ApplicationDomain::Event> store; 58 static Store<Sink::ApplicationDomain::Event> store;
60 return store; 59 return store;
61} 60}