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 | |
parent | c75d55cfbca0a34ae3ecc171178a8c1f0ae76039 (diff) | |
download | Qt-39f1226e937d49b134f545fc63c776cc460a40ca.zip Qt-39f1226e937d49b134f545fc63c776cc460a40ca.tar.gz Qt-39f1226e937d49b134f545fc63c776cc460a40ca.tar.bz2 |
Compile fix
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/dialogs/qfilesystemmodel.cpp | 2 | ||||
-rw-r--r-- | src/gui/itemviews/qdirmodel.cpp | 2 |
2 files changed, 2 insertions, 2 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); 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(); |