summaryrefslogtreecommitdiffstats
path: root/common/clientapi.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-19 17:01:43 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-19 17:01:43 +0100
commit9f7e50ed1b788cf407c13bc35a2021e329123c4f (patch)
tree351c31198c42d9e795eb59cc7aaab50f8055bcf7 /common/clientapi.cpp
parentc26420604b71da2f32bb29dc531e779656d77fc1 (diff)
downloadsink-9f7e50ed1b788cf407c13bc35a2021e329123c4f.tar.gz
sink-9f7e50ed1b788cf407c13bc35a2021e329123c4f.zip
Cleanup
Diffstat (limited to 'common/clientapi.cpp')
-rw-r--r--common/clientapi.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/common/clientapi.cpp b/common/clientapi.cpp
index ab2af7a..ba9ad27 100644
--- a/common/clientapi.cpp
+++ b/common/clientapi.cpp
@@ -51,11 +51,10 @@ QByteArray Store::resourceName(const QByteArray &instanceIdentifier)
51 return Akonadi2::resourceName(instanceIdentifier); 51 return Akonadi2::resourceName(instanceIdentifier);
52} 52}
53 53
54QList<QByteArray> Store::getResources(const QList<QByteArray> &resourceFilter, const QByteArray &type) 54static QList<QByteArray> getResources(const QList<QByteArray> &resourceFilter, const QByteArray &type)
55{ 55{
56 //Return the global resource (signified by an empty name) for types that don't eblong to a specific resource 56 //Return the global resource (signified by an empty name) for types that don't eblong to a specific resource
57 if (type == "akonadiresource") { 57 if (type == "akonadiresource") {
58 qWarning() << "Global resource";
59 return QList<QByteArray>() << ""; 58 return QList<QByteArray>() << "";
60 } 59 }
61 QList<QByteArray> resources; 60 QList<QByteArray> resources;
@@ -74,7 +73,7 @@ QList<QByteArray> Store::getResources(const QList<QByteArray> &resourceFilter, c
74 } 73 }
75 } 74 }
76 } 75 }
77 qWarning() << "Found resources: " << resources; 76 Trace() << "Found resources: " << resources;
78 return resources; 77 return resources;
79} 78}
80 79