summaryrefslogtreecommitdiffstats
path: root/common/store.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-13 10:58:20 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-04-13 10:58:20 +0200
commitc3040251dd4d9e8d00cbccdeb693b11a72077c73 (patch)
treec451f523d434871f8607dc74d3dd902964b93357 /common/store.cpp
parent88e8ed3cc36939f220a7051062dd203054d2ade6 (diff)
downloadsink-c3040251dd4d9e8d00cbccdeb693b11a72077c73.tar.gz
sink-c3040251dd4d9e8d00cbccdeb693b11a72077c73.zip
Fixed identity lookup
Diffstat (limited to 'common/store.cpp')
-rw-r--r--common/store.cpp2
1 files changed, 1 insertions, 1 deletions
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()
54static QList<QByteArray> getResources(const QList<QByteArray> &resourceFilter, const QByteArray &type = QByteArray()) 54static 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;