Small coding improvements

Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
This commit is contained in:
Dries Mys 2023-07-25 14:10:18 +02:00 committed by Matthieu Gallien
parent fb21eb55cf
commit 243fcfedb9

View file

@ -618,8 +618,9 @@ void Folder::slotWatchedPathChanged(const QString &path, ChangeReason reason)
spurious = false;
if (*pinState == PinState::OnlineOnly && record.isFile())
spurious = false;
} else
} else {
spurious = false;
}
}
if (spurious) {
qCInfo(lcFolder) << "Ignoring spurious notification for file" << relativePath;