Changeset 1116
- Timestamp:
- Mar 4, 2013, 10:31:22 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/corelib/io/qfsfileengine_iterator_os2.cpp ¶
r1114 r1116 271 271 #else // !QT_OS2_USE_DOSFINDFIRST 272 272 } else { 273 // DosFindFirst is unaware of symlinks; help it 274 path = QFileInfo(path).canonicalFilePath().append(QLatin1String("/*")); 273 // DosFindFirst is unaware of symlinks; help it with canonicalFilePath() 274 QString mask = QFileInfo(path).canonicalFilePath().append(QLatin1String("/*")); 275 mask = QDir::toNativeSeparators(QDir::cleanPath(mask)); 275 276 ULONG count = 1; 276 if (DosFindFirst(QFile::encodeName( path).constData(),277 if (DosFindFirst(QFile::encodeName(mask).constData(), 277 278 &that->platform->hdir, 278 279 FILE_NORMAL | FILE_READONLY | FILE_HIDDEN |
Note:
See TracChangeset
for help on using the changeset viewer.