summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qfsfileengine.cpp
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-12-01 09:46:43 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-12-01 09:46:43 (GMT)
commit448bd8a0b69eab922df956bb0fbdb94abeb5c7ea (patch)
treecde6aa0c4498d5f434473cf7e6a61a67765f9d55 /src/corelib/io/qfsfileengine.cpp
parentca7a80a29000f45fc1bd5b0c491abc2bc44b620f (diff)
downloadQt-448bd8a0b69eab922df956bb0fbdb94abeb5c7ea.zip
Qt-448bd8a0b69eab922df956bb0fbdb94abeb5c7ea.tar.gz
Qt-448bd8a0b69eab922df956bb0fbdb94abeb5c7ea.tar.bz2
Re-enabled realpath() on symbian.
That was disabled by accident when we were disabling it for Mac. Reviewed-by: Prasanth
Diffstat (limited to 'src/corelib/io/qfsfileengine.cpp')
-rw-r--r--src/corelib/io/qfsfileengine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qfsfileengine.cpp b/src/corelib/io/qfsfileengine.cpp
index 2178fa9..37b0ea1 100644
--- a/src/corelib/io/qfsfileengine.cpp
+++ b/src/corelib/io/qfsfileengine.cpp
@@ -144,7 +144,7 @@ QString QFSFileEnginePrivate::canonicalized(const QString &path)
return path;
#endif
// Mac OS X 10.5.x doesn't support the realpath(X,0) extenstion we use here.
-#if defined(Q_OS_UNIX) && !defined(Q_OS_MAC)
+#if (defined(Q_OS_UNIX) && !defined(Q_OS_MAC)) || defined(Q_OS_SYMBIAN)
char *ret = realpath(path.toLocal8Bit().constData(), (char*)0);
if (ret) {
QString canonicalPath = QDir::cleanPath(QString::fromLocal8Bit(ret));