summaryrefslogtreecommitdiffstats
path: root/sinksh
diff options
context:
space:
mode:
Diffstat (limited to 'sinksh')
-rw-r--r--sinksh/sinksh_utils.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/sinksh/sinksh_utils.cpp b/sinksh/sinksh_utils.cpp
index cb53ff2..06bcb8e 100644
--- a/sinksh/sinksh_utils.cpp
+++ b/sinksh/sinksh_utils.cpp
@@ -51,6 +51,9 @@ StoreBase &getStore(const QString &type)
51 } else if (type == getTypeName<SinkAccount>()) { 51 } else if (type == getTypeName<SinkAccount>()) {
52 static Store<SinkAccount> store; 52 static Store<SinkAccount> store;
53 return store; 53 return store;
54 } else if (type == getTypeName<Identity>()) {
55 static Store<Identity> store;
56 return store;
54 } 57 }
55 58
56 qWarning() << "Trying to get a store that doesn't exist, falling back to event"; 59 qWarning() << "Trying to get a store that doesn't exist, falling back to event";
@@ -75,6 +78,8 @@ QList<QByteArray> requestedProperties(const QString &type)
75 return QList<QByteArray>() << SinkResource::ResourceType::name << SinkResource::Account::name; 78 return QList<QByteArray>() << SinkResource::ResourceType::name << SinkResource::Account::name;
76 } else if (type == getTypeName<SinkAccount>()) { 79 } else if (type == getTypeName<SinkAccount>()) {
77 return QList<QByteArray>() << SinkAccount::AccountType::name << SinkAccount::Name::name; 80 return QList<QByteArray>() << SinkAccount::AccountType::name << SinkAccount::Name::name;
81 } else if (type == getTypeName<Identity>()) {
82 return QList<QByteArray>() << Identity::Name::name << Identity::Address::name;
78 } 83 }
79 return QList<QByteArray>(); 84 return QList<QByteArray>();
80} 85}