From: Matthieu Gallien Date: Tue, 24 Jan 2023 21:35:52 +0000 (+0100) Subject: use auto X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~11^2~27^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=fbb0a33eb702f7518ceb3fd79699488843ce3c05;p=nextcloud-desktop.git use auto Signed-off-by: Matthieu Gallien --- 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};