From 75651754a4c34b5c9e1e388b35f709d0e825fa3d Mon Sep 17 00:00:00 2001 From: Dries Mys Date: Tue, 25 Jul 2023 14:10:18 +0200 Subject: [PATCH] Small coding improvements Signed-off-by: Dries Mys --- src/gui/folder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/folder.cpp b/src/gui/folder.cpp index 01170d4e154d..8d15e8da3021 100644 --- a/src/gui/folder.cpp +++ b/src/gui/folder.cpp @@ -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;