From 6e700175cdaed0971c646fd1d2d814e0ec4d73ba Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 16 Feb 2017 10:39:13 +0100 Subject: These shouldn't be warnings. --- examples/maildirresource/libmaildir/maildir.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/maildirresource/libmaildir/maildir.cpp b/examples/maildirresource/libmaildir/maildir.cpp index f7585fe..a889ea2 100644 --- a/examples/maildirresource/libmaildir/maildir.cpp +++ b/examples/maildirresource/libmaildir/maildir.cpp @@ -696,7 +696,7 @@ bool Maildir::removeEntry(const QString& key) QString Maildir::changeEntryFlags(const QString& key, const Maildir::Flags& flags) { QString realKey(d->findRealKey(key)); - qCWarning(log) << "Change entry flags: " << key << realKey; + qCDebug(log) << "Change entry flags: " << key << realKey; if (realKey.isEmpty()) { qCWarning(log) << "Maildir::changeEntryFlags unable to find: " << key << "in " << d->path; return QString(); @@ -731,7 +731,8 @@ QString Maildir::changeEntryFlags(const QString& key, const Maildir::Flags& flag if (realKey == finalKey) { // Somehow it already is named this way (e.g. migration bug -> wrong status in sink) - qCWarning(log) << "File already named that way: " << newUniqueKey << finalKey; + // We run into this if we pick up flag changes from the source and call this method with unchanged flags. + qCDebug(log) << "File already named that way: " << newUniqueKey << finalKey; return newUniqueKey; } -- cgit v1.2.3