Skip to content

Commit d0959ee

Browse files
committed
Use ProgramData on Windows as temp folder to get out of non-latin letters in paths
1 parent 2928d4f commit d0959ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ QString Common::applicationDataPath()
8282
QString Common::pathInTemp(QString path)
8383
{
8484
#ifdef Q_OS_WIN32
85-
QString temp = qgetenv("TEMP");
85+
QString temp = qgetenv("PROGRAMDATA");
8686
#else
8787
QString temp = QDir::tempPath();
8888
#endif

0 commit comments

Comments
 (0)