mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
Do not follow symlinks when recursing
We do not support symlinks anyway
This commit is contained in:
parent
2554a67cc7
commit
284285d441
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ QStringList FileUtils::subFoldersList(QString folder,
|
|||
SubFolderListOptions options)
|
||||
{
|
||||
QDir dir(folder);
|
||||
dir.setFilter(QDir::Dirs | QDir::NoDotAndDotDot);
|
||||
dir.setFilter(QDir::Dirs | QDir::NoDotAndDotDot | QDir::NoSymLinks);
|
||||
|
||||
QFileInfoList list = dir.entryInfoList();
|
||||
QStringList dirList;
|
||||
|
|
Loading…
Reference in a new issue