diff options
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; |