mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-23 05:25:50 +03:00
use auto
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
This commit is contained in:
parent
eb9a496f41
commit
fbb0a33eb7
1 changed files with 1 additions and 1 deletions
|
@ -1181,7 +1181,7 @@ void PropagateDownloadFile::downloadFinished()
|
|||
qCInfo(lcPropagateDownload) << "setting instruction to" << _item->_instruction << _item->_file;
|
||||
}
|
||||
|
||||
bool previousFileExists = FileSystem::fileExists(filename) && _item->_instruction != CSYNC_INSTRUCTION_CASE_CLASH_CONFLICT;
|
||||
auto previousFileExists = FileSystem::fileExists(filename) && _item->_instruction != CSYNC_INSTRUCTION_CASE_CLASH_CONFLICT;
|
||||
if (previousFileExists) {
|
||||
// Preserve the existing file permissions.
|
||||
const auto existingFile = QFileInfo{filename};
|
||||
|
|
Loading…
Reference in a new issue