Ticket #239: qfilesystemmodel_2.diff

File qfilesystemmodel_2.diff, 600 bytes (added by rudi, 13 years ago)
  • qfilesystemmodel.cpp

     
    13661366QModelIndex QFileSystemModel::setRootPath(const QString &newPath)
    13671367{
    13681368    Q_D(QFileSystemModel);
    1369 #ifdef Q_OS_WIN
    1370 #ifdef Q_OS_WIN32
     1369#if defined (Q_OS_WIN32)
    13711370    QString longNewPath = qt_GetLongPathName(newPath);
    1372 #else
     1371#elif defined (Q_OS_WIN) || defined (Q_OS_OS2)
    13731372    QString longNewPath = QDir::fromNativeSeparators(newPath);
    1374 #endif
    13751373#else
    13761374    QString longNewPath = newPath;
    13771375#endif