diff options
author | allexzander <blackslayer4@gmail.com> | 2021-04-07 10:41:59 +0300 |
---|---|---|
committer | allexzander (Rebase PR Action) <allexzander@users.noreply.github.com> | 2021-04-07 12:08:02 +0300 |
commit | 4b58c2b7b711f87ea0bf96d83d938b91d4ed0e4a (patch) | |
tree | 03055e4b147426f8fcbfb75ca2220d7d7f61d1ef /src/libsync/discovery.cpp | |
parent | 82953d0601787ba3557b5d5fb852516d589cec1c (diff) |
Fix review comments.
Signed-off-by: allexzander <blackslayer4@gmail.com>
Diffstat (limited to 'src/libsync/discovery.cpp')
-rw-r--r-- | src/libsync/discovery.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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)) { |