Ignore:
Timestamp:
Jul 7, 2011, 2:53:10 PM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

corelib: QDir::cleanPath() would strip the trailing slash from drive root directories due to a missing ifdef. Regression of Qt 4.7. Closes #223.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/corelib/io/qdir.cpp

    r848 r883  
    21462146    // Strip away last slash except for root directories
    21472147    if (ret.length() > 1 && ret.endsWith(QLatin1Char('/'))) {
    2148 #if defined (Q_OS_WIN) || defined (Q_OS_SYMBIAN)
     2148#if defined (Q_OS_WIN) || defined (Q_OS_SYMBIAN)
    21492149        if (!(ret.length() == 3 && ret.at(1) == QLatin1Char(':')))
    21502150#endif
Note: See TracChangeset for help on using the changeset viewer.