when updating a virtual file after lock/unlock: avoid setting modtime
authorMatthieu Gallien <matthieu.gallien@nextcloud.com>
Tue, 26 Nov 2024 17:12:36 +0000 (18:12 +0100)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 29 Nov 2024 11:11:20 +0000 (12:11 +0100)
commit77e781cbae102a71886d79e09f55f832f83ed5c5
tree021961d6e9c5532f36c82ced2cfe9fd386e3a348
parentf6a91ce9131356beb661a8ed8e145af5c8ef516b
when updating a virtual file after lock/unlock: avoid setting modtime

will prevent truncating the modification time when changing the lock
state of a file

could be visible when using an office software to open an office file
with automated locking happening after the file gets opened

Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/folder.cpp