From fbb0a33eb702f7518ceb3fd79699488843ce3c05 Mon Sep 17 00:00:00 2001 From: Matthieu Gallien Date: Tue, 24 Jan 2023 22:35:52 +0100 Subject: [PATCH] use auto Signed-off-by: Matthieu Gallien --- src/libsync/propagatedownload.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsync/propagatedownload.cpp b/src/libsync/propagatedownload.cpp index 9f7beb0a6..ead85459f 100644 --- a/src/libsync/propagatedownload.cpp +++ b/src/libsync/propagatedownload.cpp @@ -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}; -- 2.30.2