From 9f7e50ed1b788cf407c13bc35a2021e329123c4f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Sat, 19 Dec 2015 17:01:43 +0100 Subject: Cleanup --- common/clientapi.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'common/clientapi.cpp') 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) return Akonadi2::resourceName(instanceIdentifier); } -QList Store::getResources(const QList &resourceFilter, const QByteArray &type) +static QList getResources(const QList &resourceFilter, const QByteArray &type) { //Return the global resource (signified by an empty name) for types that don't eblong to a specific resource if (type == "akonadiresource") { - qWarning() << "Global resource"; return QList() << ""; } QList resources; @@ -74,7 +73,7 @@ QList Store::getResources(const QList &resourceFilter, c } } } - qWarning() << "Found resources: " << resources; + Trace() << "Found resources: " << resources; return resources; } -- cgit v1.2.3