mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Don't create a QDir instance for its static setCurrent method
This commit is contained in:
parent
949c486cac
commit
f3572e52ac
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ void start() {
|
||||||
|
|
||||||
// WinRT build requires the working dir to stay the same for plugin loading.
|
// WinRT build requires the working dir to stay the same for plugin loading.
|
||||||
#ifndef Q_OS_WINRT
|
#ifndef Q_OS_WINRT
|
||||||
QDir().setCurrent(cWorkingDir());
|
QDir::setCurrent(cWorkingDir());
|
||||||
#endif // !Q_OS_WINRT
|
#endif // !Q_OS_WINRT
|
||||||
|
|
||||||
QDir().mkpath(cWorkingDir() + u"tdata"_q);
|
QDir().mkpath(cWorkingDir() + u"tdata"_q);
|
||||||
|
|
Loading…
Add table
Reference in a new issue