From 4c8a2715887bfe8a986470666c9b648e4cec6eb0 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 3 Apr 2015 00:58:02 +0200 Subject: log messages. --- dummyresource/facade.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dummyresource/facade.cpp b/dummyresource/facade.cpp index 893b585..04bf5b3 100644 --- a/dummyresource/facade.cpp +++ b/dummyresource/facade.cpp @@ -32,6 +32,7 @@ #include "domainadaptor.h" #include #include +#include using namespace DummyCalendar; using namespace flatbuffers; @@ -100,7 +101,6 @@ static std::functionuid() && (QByteArray::fromRawData(local->uid()->c_str(), local->uid()->size()) == uid)) { - qDebug() << "uid match"; return true; } return false; @@ -208,7 +208,7 @@ Async::Job DummyResourceFacade::load(const Akonadi2::Query &query, const s keys << value; }, [](const Index::Error &error) { - qWarning() << "Error in index: " << error.message; + Warning() << "Error in index: " << error.message; }); } @@ -216,7 +216,7 @@ Async::Job DummyResourceFacade::load(const Akonadi2::Query &query, const s //The transaction will be closed automatically once the storage object is destroyed. storage->startTransaction(Akonadi2::Storage::ReadOnly); if (keys.isEmpty()) { - qDebug() << "full scan"; + Log() << "Executing a full scan"; readValue(storage, QByteArray(), resultCallback, preparedQuery); } else { for (const auto &key : keys) { -- cgit v1.2.3