diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-05-25 10:57:48 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-05-25 10:58:31 (GMT) |
commit | 39f1226e937d49b134f545fc63c776cc460a40ca (patch) | |
tree | a5f58c8fd855af90cd0582be80c95c77534721be /src/gui/itemviews/qdirmodel.cpp | |
parent | c75d55cfbca0a34ae3ecc171178a8c1f0ae76039 (diff) | |
download | Qt-39f1226e937d49b134f545fc63c776cc460a40ca.zip Qt-39f1226e937d49b134f545fc63c776cc460a40ca.tar.gz Qt-39f1226e937d49b134f545fc63c776cc460a40ca.tar.bz2 |
Compile fix
Diffstat (limited to 'src/gui/itemviews/qdirmodel.cpp')
-rw-r--r-- | src/gui/itemviews/qdirmodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemviews/qdirmodel.cpp b/src/gui/itemviews/qdirmodel.cpp index 5cd16c0..65e3032 100644 --- a/src/gui/itemviews/qdirmodel.cpp +++ b/src/gui/itemviews/qdirmodel.cpp @@ -885,7 +885,7 @@ QModelIndex QDirModel::index(const QString &path, int column) const QStringList pathElements = absolutePath.split(QLatin1Char('/'), QString::SkipEmptyParts); if ((pathElements.isEmpty() || !QFileInfo(path).exists()) #if !defined(Q_OS_WIN) || defined(Q_OS_WINCE) - && path != QLatin1Char('/') + && path != QLatin1String("/") #endif ) return QModelIndex(); |