From 907b35c650b65dd0bef4a2fd29c4e3778d085908 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Wed, 24 May 2023 16:37:45 +0200 Subject: [PATCH] ensure that the file to test monitoring is hidden we create a file inside the sync folder to test file system monitoring ensure this file is hidden (i.e. has the proper hidden property) Signed-off-by: Matthieu Gallien --- src/gui/folderwatcher.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/folderwatcher.cpp b/src/gui/folderwatcher.cpp index 00ba227b7..3d1f73cba 100644 --- a/src/gui/folderwatcher.cpp +++ b/src/gui/folderwatcher.cpp @@ -133,6 +133,7 @@ void FolderWatcher::startNotificationTestWhenReady() QFile f(path); f.open(QIODevice::WriteOnly | QIODevice::Append); } + FileSystem::setFileHidden(path, true); QTimer::singleShot(5000, this, [this]() { if (!_testNotificationPath.isEmpty()) -- 2.30.2