Commit ceb93395 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove it

parent 6da9ca22
Pipeline #89370 passed with stage
in 30 minutes and 6 seconds
......@@ -50,9 +50,7 @@ QVector<MailFilter *> 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 {
......
......@@ -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');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment