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