From b6b0a9d4a33e167fa73bf412cb2e6ba511fb496d Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 5 Nov 2024 17:39:28 +0100 Subject: [PATCH] prevent implicit hydration when setting file permissions on shortcuts we were using specialized API to set the file permissions on the windows shortcut and later falling back to the generic code path due to the mising return Signed-off-by: Matthieu Gallien --- src/common/filesystembase.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/common/filesystembase.cpp b/src/common/filesystembase.cpp index 765b081bff..8371cc3360 100644 --- a/src/common/filesystembase.cpp +++ b/src/common/filesystembase.cpp @@ -131,6 +131,7 @@ void FileSystem::setFileReadOnly(const QString &filename, bool readonly) { qCWarning(lcFileSystem()) << filename << (readonly ? "readonly" : "read write") << e.what(); } + return; } #endif QFile file(filename);