From ceb9339576cbdd5692d87d4f85eac07cab771960 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Sun, 17 Oct 2021 16:39:53 +0200 Subject: [PATCH] Remove it --- src/filter/filterimporterexporter.cpp | 2 -- src/search/searchpattern.cpp | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/filter/filterimporterexporter.cpp b/src/filter/filterimporterexporter.cpp index b8e1267..34ebf23 100644 --- a/src/filter/filterimporterexporter.cpp +++ b/src/filter/filterimporterexporter.cpp @@ -50,9 +50,7 @@ QVector FilterImporterExporter::readFiltersFromConfig(const KShare filterNeedUpdate = true; } if (filter->isEmpty()) { -#ifndef NDEBUG qCDebug(MAILCOMMON_LOG) << "Filter" << filter->asString() << "is empty!"; -#endif emptyFilters << filter->name(); delete filter; } else { diff --git a/src/search/searchpattern.cpp b/src/search/searchpattern.cpp index 7266475..369f953 100644 --- a/src/search/searchpattern.cpp +++ b/src/search/searchpattern.cpp @@ -112,9 +112,7 @@ QString SearchPattern::purify(bool removeAction) --it; if ((*it)->isEmpty()) { if (removeAction) { -#ifndef NDEBUG qCDebug(MAILCOMMON_LOG) << "Removing" << (*it)->asString(); -#endif if (!informationAboutNotValidPattern.isEmpty()) { informationAboutNotValidPattern += QLatin1Char('\n'); }