summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authoraxis <qt-info@nokia.com>2009-09-30 09:34:55 (GMT)
committeraxis <qt-info@nokia.com>2009-09-30 13:31:14 (GMT)
commit8c4b3937511c8e960f9c03f1c711005aef49d982 (patch)
treef763139f6fe70600369a70a66b5a555fd88611e1 /src/corelib/io
parent0728fa73b83e7f29990eae2520f0994e413264c2 (diff)
downloadQt-8c4b3937511c8e960f9c03f1c711005aef49d982.zip
Qt-8c4b3937511c8e960f9c03f1c711005aef49d982.tar.gz
Qt-8c4b3937511c8e960f9c03f1c711005aef49d982.tar.bz2
Fixed some uncommon codepaths to compile.
RevBy: Trust me
Diffstat (limited to 'src/corelib/io')
-rw-r--r--src/corelib/io/qfsfileengine_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qfsfileengine_unix.cpp b/src/corelib/io/qfsfileengine_unix.cpp
index 4ec5772..114da3b 100644
--- a/src/corelib/io/qfsfileengine_unix.cpp
+++ b/src/corelib/io/qfsfileengine_unix.cpp
@@ -595,7 +595,7 @@ QString QFSFileEngine::rootPath()
return QDir::cleanPath(QDir::fromNativeSeparators(qt_TDesC2QString(symbianPath)));
# else
# warning No fallback implementation of QFSFileEngine::rootPath()
- return QLatin1String();
+ return QString();
# endif
#else
return QLatin1String("/");
@@ -614,7 +614,7 @@ QString QFSFileEngine::tempPath()
QT_MKDIR(QFile::encodeName(temp), 0777);
# else
# warning No fallback implementation of QFSFileEngine::tempPath()
- return QString();
+ QString temp;
# endif
#else
QString temp = QFile::decodeName(qgetenv("TMPDIR"));