summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/domain/applicationdomaintype.cpp4
-rw-r--r--common/listener.cpp2
-rw-r--r--sinksh/sinksh_utils.cpp7
3 files changed, 6 insertions, 7 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp
index f6db626..2a0d977 100644
--- a/common/domain/applicationdomaintype.cpp
+++ b/common/domain/applicationdomaintype.cpp
@@ -303,13 +303,13 @@ QByteArray getTypeName<Todo>()
303template<> 303template<>
304QByteArray getTypeName<SinkResource>() 304QByteArray getTypeName<SinkResource>()
305{ 305{
306 return "sinkresource"; 306 return "resource";
307} 307}
308 308
309template<> 309template<>
310QByteArray getTypeName<SinkAccount>() 310QByteArray getTypeName<SinkAccount>()
311{ 311{
312 return "sinkaccount"; 312 return "account";
313} 313}
314 314
315template<> 315template<>
diff --git a/common/listener.cpp b/common/listener.cpp
index 027d9ae..db9b21b 100644
--- a/common/listener.cpp
+++ b/common/listener.cpp
@@ -60,7 +60,7 @@ Listener::Listener(const QByteArray &resourceInstanceIdentifier, const QByteArra
60 } 60 }
61 61
62 if (m_server->isListening()) { 62 if (m_server->isListening()) {
63 SinkLog() << QString("Listening on %1").arg(m_server->serverName()); 63 SinkTrace() << QString("Listening on %1").arg(m_server->serverName());
64 } 64 }
65 65
66 m_checkConnectionsTimer = std::unique_ptr<QTimer>(new QTimer); 66 m_checkConnectionsTimer = std::unique_ptr<QTimer>(new QTimer);
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}