summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/io/qtemporaryfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/io/qtemporaryfile.cpp b/src/corelib/io/qtemporaryfile.cpp
index adf353eb30..c9cdcbb99e 100644
--- a/src/corelib/io/qtemporaryfile.cpp
+++ b/src/corelib/io/qtemporaryfile.cpp
@@ -141,7 +141,7 @@ static int createFileFromTemplate(char *const path,
return -1;
}
#else
- if (!QFileInfo(QLatin1String(path)).exists())
+ if (!QFileInfo(QString::fromLocal8Bit(path)).exists())
return 1;
#endif