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:
Matthieu Gallien 2024-11-05 17:39:28 +01:00
parent caf1d492b1
commit b6b0a9d4a3
No known key found for this signature in database
GPG Key ID: 7D0F74F05C22F553

View File

@ -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);