summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfilesystementry.cpp
diff options
context:
space:
mode:
authorPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-08-25 11:43:10 (GMT)
committerPrasanth Ullattil <prasanth.ullattil@nokia.com>2010-08-25 11:43:10 (GMT)
commitf9b040556368001b367731e7ea65227956952e25 (patch)
treea23387b778b511e295abec60fa4223736143e392 /src/corelib/io/qfilesystementry.cpp
parent931d47db10ca8b8ebf564c4b6537e31370b7f53c (diff)
downloadQt-f9b040556368001b367731e7ea65227956952e25.zip
Qt-f9b040556368001b367731e7ea65227956952e25.tar.gz
Qt-f9b040556368001b367731e7ea65227956952e25.tar.bz2
Fix QFileSystemEntry autotests for Windows
Reviewed-by: Thomas Zander
Diffstat (limited to 'src/corelib/io/qfilesystementry.cpp')
-rw-r--r--src/corelib/io/qfilesystementry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystementry.cpp b/src/corelib/io/qfilesystementry.cpp
index 2d6740e..bed5435 100644
--- a/src/corelib/io/qfilesystementry.cpp
+++ b/src/corelib/io/qfilesystementry.cpp
@@ -122,7 +122,7 @@ bool QFileSystemEntry::isAbsolute() const
{
resolveFilePath();
return (!m_filePath.isEmpty() && (m_filePath[0].unicode() == '/')
-#if defined(Q_FS_FAT) || defined(Q_OS_OS2EMX) || defined(Q_OS_SYMBIAN)
+#if defined(Q_OS_WIN) || defined(Q_OS_SYMBIAN)
|| (m_filePath.length() >= 2
&& ((m_filePath[0].isLetter() && m_filePath[1] == QLatin1Char(':'))
|| (m_filePath.at(0) == QLatin1Char('/') && m_filePath.at(1) == QLatin1Char('/'))))