From: allexzander Date: Wed, 7 Apr 2021 07:41:59 +0000 (+0300) Subject: Fix review comments. X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~275^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=4b58c2b7b711f87ea0bf96d83d938b91d4ed0e4a;p=nextcloud-desktop.git Fix review comments. Signed-off-by: allexzander --- diff --git a/src/libsync/discovery.cpp b/src/libsync/discovery.cpp index c318c85c6..b83493c2b 100644 --- a/src/libsync/discovery.cpp +++ b/src/libsync/discovery.cpp @@ -180,13 +180,13 @@ void ProcessDirectoryJob::process() bool isHidden = e.localEntry.isHidden || (f.first[0] == '.' && f.first != QLatin1String(".sys.admin#recall#")); #ifdef Q_OS_WIN // exclude ".lnk" files as they are not essential, but, causing troubles when enabling the VFS due to QFileInfo::isDir() and other methods are freezing, which causes the ".lnk" files to start hydrating and freezing the app eventually. - const bool isServerEntrySymLink = !e.localEntry.isValid() && e.serverEntry.isValid() && !e.serverEntry.isDirectory && FileSystem::isLnkFile(e.serverEntry.name); + const bool isServerEntryWindowsShortcut = !e.localEntry.isValid() && e.serverEntry.isValid() && !e.serverEntry.isDirectory && FileSystem::isLnkFile(e.serverEntry.name); #else - const bool isServerEntrySymLink = false; + const bool isServerEntryWindowsShortcut = false; #endif if (handleExcluded(path._target, e.localEntry.name, e.localEntry.isDirectory || e.serverEntry.isDirectory, isHidden, - e.localEntry.isSymLink || isServerEntrySymLink)) + e.localEntry.isSymLink || isServerEntryWindowsShortcut)) continue; if (_queryServer == InBlackList || _discoveryData->isInSelectiveSyncBlackList(path._original)) {