Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 1b196f10 authored by Laurent Montel's avatar Laurent Montel 😁

Use isEmpty() here

parent 6a3f44ae
......@@ -2266,7 +2266,7 @@ bool MixedMaildirStore::Private::visit(FileStore::StoreCompactJob *job)
QList<KMBox::MBoxEntry::Pair> movedEntries;
const int result = mbox->purge(movedEntries);
if (result > 0) {
if (movedEntries.count() > 0) {
if (!movedEntries.isEmpty()) {
qint64 revision = mbox->mCollection.remoteRevision().toLongLong();
qCDebug(MIXEDMAILDIRRESOURCE_LOG) << "purge of" << mbox-> << "caused item move: oldRevision="
<< revision << "(stored)," << mbox->mRevision << "(local)";
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