diff options
Diffstat (limited to 'common/clientapi.cpp')
-rw-r--r-- | common/clientapi.cpp | 5 |
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 | ||
54 | QList<QByteArray> Store::getResources(const QList<QByteArray> &resourceFilter, const QByteArray &type) | 54 | static 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 | ||