diff options
author | Sandro Knauß <sknauss@kde.org> | 2017-01-16 17:36:47 +0100 |
---|---|---|
committer | Sandro Knauß <sknauss@kde.org> | 2017-01-30 10:59:30 +0100 |
commit | 2486b417dbfb4daf0741f7b870e3d276fac87729 (patch) | |
tree | 9008a38b4d95edb46678c9db2f8c4a4c3084a0fd /sinksh/sinksh_utils.cpp | |
parent | bb624c5ec2ab2e13dedcba67fd60e3d2f03216d7 (diff) | |
download | sink-2486b417dbfb4daf0741f7b870e3d276fac87729.tar.gz sink-2486b417dbfb4daf0741f7b870e3d276fac87729.zip |
make contacts suitable for applications like sinksh
Diffstat (limited to 'sinksh/sinksh_utils.cpp')
-rw-r--r-- | sinksh/sinksh_utils.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sinksh/sinksh_utils.cpp b/sinksh/sinksh_utils.cpp index 71a47b1..9a0d1d8 100644 --- a/sinksh/sinksh_utils.cpp +++ b/sinksh/sinksh_utils.cpp | |||
@@ -54,6 +54,9 @@ StoreBase &getStore(const QString &type) | |||
54 | } else if (type == getTypeName<Identity>()) { | 54 | } else if (type == getTypeName<Identity>()) { |
55 | static Store<Identity> store; | 55 | static Store<Identity> store; |
56 | return store; | 56 | return store; |
57 | } else if (type == getTypeName<Contact>()) { | ||
58 | static Store<Contact> store; | ||
59 | return store; | ||
57 | } | 60 | } |
58 | 61 | ||
59 | SinkWarning_("", "") << "Trying to get a store that doesn't exist: " << type; | 62 | SinkWarning_("", "") << "Trying to get a store that doesn't exist: " << type; |