summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs/qfilesystemmodel.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/dialogs/qfilesystemmodel.cpp
parentc75d55cfbca0a34ae3ecc171178a8c1f0ae76039 (diff)
downloadQt-39f1226e937d49b134f545fc63c776cc460a40ca.zip
Qt-39f1226e937d49b134f545fc63c776cc460a40ca.tar.gz
Qt-39f1226e937d49b134f545fc63c776cc460a40ca.tar.bz2
Compile fix
Diffstat (limited to 'src/gui/dialogs/qfilesystemmodel.cpp')
-rw-r--r--src/gui/dialogs/qfilesystemmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/dialogs/qfilesystemmodel.cpp b/src/gui/dialogs/qfilesystemmodel.cpp
index eeca9f9..825f8b6 100644
--- a/src/gui/dialogs/qfilesystemmodel.cpp
+++ b/src/gui/dialogs/qfilesystemmodel.cpp
@@ -356,7 +356,7 @@ QFileSystemModelPrivate::QFileSystemNode *QFileSystemModelPrivate::node(const QS
QStringList pathElements = absolutePath.split(QLatin1Char('/'), QString::SkipEmptyParts);
if ((pathElements.isEmpty())
#if !defined(Q_OS_WIN) || defined(Q_OS_WINCE)
- && QDir::fromNativeSeparators(longPath) != QLatin1Char('/')
+ && QDir::fromNativeSeparators(longPath) != QLatin1String("/")
#endif
)
return const_cast<QFileSystemModelPrivate::QFileSystemNode*>(&root);