From 00e6b843e9f2881faccb312594a0e91c42df0096 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 25 Nov 2015 09:22:03 +0100 Subject: Less noise --- common/facade.cpp | 6 +++--- common/modelresult.cpp | 6 +++--- common/resourceaccess.cpp | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'common') diff --git a/common/facade.cpp b/common/facade.cpp index 59972bf..850d28b 100644 --- a/common/facade.cpp +++ b/common/facade.cpp @@ -186,15 +186,15 @@ void GenericFacade::replaySet(ResultSet &resultSet, Akonadi2::Result while (resultSet.next([&resultProvider](const Akonadi2::ApplicationDomain::ApplicationDomainType::Ptr &value, Akonadi2::Operation operation) -> bool { switch (operation) { case Akonadi2::Operation_Creation: - Trace() << "Got creation"; + // Trace() << "Got creation"; resultProvider.add(Akonadi2::ApplicationDomain::ApplicationDomainType::getInMemoryRepresentation(*value).template staticCast()); break; case Akonadi2::Operation_Modification: - Trace() << "Got modification"; + // Trace() << "Got modification"; resultProvider.modify(Akonadi2::ApplicationDomain::ApplicationDomainType::getInMemoryRepresentation(*value).template staticCast()); break; case Akonadi2::Operation_Removal: - Trace() << "Got removal"; + // Trace() << "Got removal"; resultProvider.remove(Akonadi2::ApplicationDomain::ApplicationDomainType::getInMemoryRepresentation(*value).template staticCast()); break; } diff --git a/common/modelresult.cpp b/common/modelresult.cpp index 5b9e24f..4102cda 100644 --- a/common/modelresult.cpp +++ b/common/modelresult.cpp @@ -124,7 +124,7 @@ void ModelResult::add(const Ptr &value) return; } auto parent = createIndexFromId(id); - qDebug() << "Added entity " << childId << value->identifier() << id; + // qDebug() << "Added entity " << childId << value->identifier() << id; const auto keys = mTree[id]; int index = 0; for (; index < keys.size(); index++) { @@ -136,13 +136,13 @@ void ModelResult::add(const Ptr &value) Warning() << "Entity already in model " << value->identifier(); return; } - qDebug() << "Inserting rows " << index << parent; + // qDebug() << "Inserting rows " << index << parent; beginInsertRows(QModelIndex(), index, index); mEntities.insert(childId, value); mTree[id].insert(index, childId); mParents.insert(childId, id); endInsertRows(); - qDebug() << "Inserted rows " << mTree[id].size(); + // qDebug() << "Inserted rows " << mTree[id].size(); } diff --git a/common/resourceaccess.cpp b/common/resourceaccess.cpp index 88f785f..1b46b82 100644 --- a/common/resourceaccess.cpp +++ b/common/resourceaccess.cpp @@ -340,7 +340,7 @@ KAsync::Job ResourceAccess::sendRevisionReplayedCommand(qint64 revision) void ResourceAccess::open() { if (d->socket && d->socket->isValid()) { - Trace() << "Socket valid, so not opening again"; + // Trace() << "Socket valid, so not opening again"; return; } if (d->openingSocket) { -- cgit v1.2.3