mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +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.
|
||||
#ifndef Q_OS_WINRT
|
||||
QDir().setCurrent(cWorkingDir());
|
||||
QDir::setCurrent(cWorkingDir());
|
||||
#endif // !Q_OS_WINRT
|
||||
|
||||
QDir().mkpath(cWorkingDir() + u"tdata"_q);
|
||||
|
|
Loading…
Add table
Reference in a new issue