Changeset 376 for trunk/src


Ignore:
Timestamp:
Dec 3, 2009, 9:43:22 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

gui: Ported QDirModel to OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gui/itemviews/qdirmodel.cpp

    r2 r376  
    869869
    870870    QString absolutePath = QDir(path).absolutePath();
    871 #if defined(Q_OS_WIN) && !defined(Q_OS_WINCE)
     871#if )
    872872    absolutePath = absolutePath.toLower();
    873873    // On Windows, "filename......." and "filename" are equivalent
     
    884884    QStringList pathElements = absolutePath.split(QLatin1Char('/'), QString::SkipEmptyParts);
    885885    if ((pathElements.isEmpty() || !QFileInfo(path).exists())
    886 #if !defined(Q_OS_WIN) || defined(Q_OS_WINCE)
     886#if )
    887887        && path != QLatin1String("/")
    888888#endif