summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/io/qfilesystemengine_unix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/io/qfilesystemengine_unix.cpp b/src/corelib/io/qfilesystemengine_unix.cpp
index 2327c11c69..ea3a3ca13d 100644
--- a/src/corelib/io/qfilesystemengine_unix.cpp
+++ b/src/corelib/io/qfilesystemengine_unix.cpp
@@ -720,8 +720,8 @@ QString QFileSystemEngine::tempPath()
temp = QFile::decodeName(qgetenv("TMPDIR"));
if (temp.isEmpty()) {
- qWarning("Neither the TEMP nor the TMPDIR environment variable is set, falling back to /tmp.");
- temp = QLatin1String("/tmp");
+ qWarning("Neither the TEMP nor the TMPDIR environment variable is set, falling back to /var/tmp.");
+ temp = QLatin1String("/var/tmp");
}
return QDir::cleanPath(temp);
#else