Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.2
-
None
-
-
524a37f99d3d3115a1b371fd289044d90349a824 (qt/qtbase/5.12)
Description
// Get a list of files and directories without symLinks QDir dir("/temp"); QFileInfoList infoList = dir.entryInfoList(QDir::Dirs | QDir::Files | QDir::Hidden | QDir::System | QDir::NoDotAndDotDot | QDir::NoSymLinks ); for (auto const& info : infoList) { if (info.isSymLink()) { continue; // This should not happen but it does } // Process files and directories that are not symlinks }