mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
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 <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
caf1d492b1
commit
b6b0a9d4a3
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user