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

Allow to debug if we want even in release mode

parent 07a3e9ae
......@@ -595,7 +595,6 @@ MailCommon::SearchRule::RequiredPart FilterManager::requiredPart(const QString &
return d->mRequiredParts.contains(id) ? d->mRequiredParts[id] : SearchRule::Envelope;
}
#ifndef NDEBUG
void FilterManager::dump() const
{
for (const MailCommon::MailFilter *filter : qAsConst(d->mFilters)) {
......@@ -603,8 +602,6 @@ void FilterManager::dump() const
}
}
#endif
void FilterManager::applySpecificFilters(const Akonadi::Item::List &selectedMessages, SearchRule::RequiredPart requiredPart, const QStringList &listFilters, FilterSet filterSet)
{
Q_EMIT progressMessage(i18n("Filtering messages"));
......
......@@ -127,12 +127,10 @@ public:
bool hasAllFoldersFilter() const;
#ifndef NDEBUG
/**
* Outputs all filter rules to console. Used for debugging.
*/
void dump() const;
#endif
protected:
bool processContextItem(MailCommon::ItemContext context);
......
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