Ticket #239: qfilesystemmodel_2.diff
File qfilesystemmodel_2.diff, 600 bytes (added by , 13 years ago) |
---|
-
qfilesystemmodel.cpp
1366 1366 QModelIndex QFileSystemModel::setRootPath(const QString &newPath) 1367 1367 { 1368 1368 Q_D(QFileSystemModel); 1369 #ifdef Q_OS_WIN 1370 #ifdef Q_OS_WIN32 1369 #if defined (Q_OS_WIN32) 1371 1370 QString longNewPath = qt_GetLongPathName(newPath); 1372 #el se1371 #elif defined (Q_OS_WIN) || defined (Q_OS_OS2) 1373 1372 QString longNewPath = QDir::fromNativeSeparators(newPath); 1374 #endif1375 1373 #else 1376 1374 QString longNewPath = newPath; 1377 1375 #endif