summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorShane Kearns <shane.kearns@accenture.com>2010-09-17 17:23:11 (GMT)
committerShane Kearns <shane.kearns@accenture.com>2010-09-20 14:47:25 (GMT)
commit333b30dc2b3c065dec2c84cf9750a526c2636d34 (patch)
tree6349ce50a883237fe50344d82e202dc67b469966 /src
parent883b223c2fc17e313c8a080c14055bba02ae655c (diff)
downloadQt-333b30dc2b3c065dec2c84cf9750a526c2636d34.zip
Qt-333b30dc2b3c065dec2c84cf9750a526c2636d34.tar.gz
Qt-333b30dc2b3c065dec2c84cf9750a526c2636d34.tar.bz2
Remove UNC paths on symbian, it doesn't support UNC
Reviewed-By: joao
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qfilesystementry.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/corelib/io/qfilesystementry.cpp b/src/corelib/io/qfilesystementry.cpp
index 12de135..bc7f121 100644
--- a/src/corelib/io/qfilesystementry.cpp
+++ b/src/corelib/io/qfilesystementry.cpp
@@ -244,7 +244,10 @@ bool QFileSystemEntry::isAbsolute() const
resolveFilePath();
return (!m_filePath.isEmpty() && ((m_filePath.length() >= 3
&& (m_filePath[0].isLetter() && m_filePath[1].unicode() == ':' && m_filePath[2].unicode() == '/'))
- || (m_filePath.length() >= 2 && (m_filePath.at(0) == QLatin1Char('/') && m_filePath.at(1) == QLatin1Char('/')))));
+#ifdef Q_OS_WIN
+ || (m_filePath.length() >= 2 && (m_filePath.at(0) == QLatin1Char('/') && m_filePath.at(1) == QLatin1Char('/')))
+#endif
+ ));
}
#else
bool QFileSystemEntry::isRelative() const