]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
Small coding improvements
authorDries Mys <dries.mys@my-dreams.be>
Tue, 25 Jul 2023 12:10:18 +0000 (14:10 +0200)
committerMatthieu Gallien <matthieu_gallien@yahoo.fr>
Wed, 26 Jul 2023 09:05:50 +0000 (11:05 +0200)
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
src/gui/folder.cpp

index 01170d4e154dabc82e09f923c9f17e931c399c86..8d15e8da302119d41f57eaa28d74defcec93d906 100644 (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;