diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-13 10:58:20 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-04-13 10:58:20 +0200 |
commit | c3040251dd4d9e8d00cbccdeb693b11a72077c73 (patch) | |
tree | c451f523d434871f8607dc74d3dd902964b93357 /common | |
parent | 88e8ed3cc36939f220a7051062dd203054d2ade6 (diff) | |
download | sink-c3040251dd4d9e8d00cbccdeb693b11a72077c73.tar.gz sink-c3040251dd4d9e8d00cbccdeb693b11a72077c73.zip |
Fixed identity lookup
Diffstat (limited to 'common')
-rw-r--r-- | common/domain/applicationdomaintype.h | 3 | ||||
-rw-r--r-- | common/store.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/common/domain/applicationdomaintype.h b/common/domain/applicationdomaintype.h index 55207d0..c94a987 100644 --- a/common/domain/applicationdomaintype.h +++ b/common/domain/applicationdomaintype.h | |||
@@ -194,6 +194,9 @@ template<> | |||
194 | QByteArray SINK_EXPORT getTypeName<SinkAccount>(); | 194 | QByteArray SINK_EXPORT getTypeName<SinkAccount>(); |
195 | 195 | ||
196 | template<> | 196 | template<> |
197 | QByteArray SINK_EXPORT getTypeName<Identity>(); | ||
198 | |||
199 | template<> | ||
197 | QByteArray SINK_EXPORT getTypeName<Mail>(); | 200 | QByteArray SINK_EXPORT getTypeName<Mail>(); |
198 | 201 | ||
199 | template<> | 202 | template<> |
diff --git a/common/store.cpp b/common/store.cpp index 02d868f..0321583 100644 --- a/common/store.cpp +++ b/common/store.cpp | |||
@@ -54,7 +54,7 @@ QString Store::getTemporaryFilePath() | |||
54 | static QList<QByteArray> getResources(const QList<QByteArray> &resourceFilter, const QByteArray &type = QByteArray()) | 54 | static QList<QByteArray> getResources(const QList<QByteArray> &resourceFilter, const QByteArray &type = QByteArray()) |
55 | { | 55 | { |
56 | // Return the global resource (signified by an empty name) for types that don't belong to a specific resource | 56 | // Return the global resource (signified by an empty name) for types that don't belong to a specific resource |
57 | if (type == "sinkresource" || type == "sinkaccount") { | 57 | if (type == "sinkresource" || type == "sinkaccount" || type == "identity") { |
58 | return QList<QByteArray>() << ""; | 58 | return QList<QByteArray>() << ""; |
59 | } | 59 | } |
60 | QList<QByteArray> resources; | 60 | QList<QByteArray> resources; |