summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qdirmodel.cpp
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-05-25 10:57:48 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-05-25 10:58:31 (GMT)
commit39f1226e937d49b134f545fc63c776cc460a40ca (patch)
treea5f58c8fd855af90cd0582be80c95c77534721be /src/gui/itemviews/qdirmodel.cpp
parentc75d55cfbca0a34ae3ecc171178a8c1f0ae76039 (diff)
downloadQt-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.cpp2
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();