Don't create a QDir instance for its static setCurrent method

This commit is contained in:
Ilya Fedin 2023-08-14 08:42:25 +04:00 committed by John Preston
parent 949c486cac
commit f3572e52ac
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ void start() {
// WinRT build requires the working dir to stay the same for plugin loading.
#ifndef Q_OS_WINRT
QDir().setCurrent(cWorkingDir());
QDir::setCurrent(cWorkingDir());
#endif // !Q_OS_WINRT
QDir().mkpath(cWorkingDir() + u"tdata"_q);