summaryrefslogtreecommitdiffstats
path: root/sinksh/sinksh_utils.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-04 15:57:17 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-04 15:57:17 +0200
commit7757d32b5a820623c469b7851354374427142598 (patch)
tree6ba92de7f7577a3cc11737075cba54d099278c54 /sinksh/sinksh_utils.cpp
parentd488457bf699752b39b270cc88535d44f452b594 (diff)
downloadsink-7757d32b5a820623c469b7851354374427142598.tar.gz
sink-7757d32b5a820623c469b7851354374427142598.zip
Backwards comaptible names and some cleanup
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}