diff --git a/Telegram/SourceFiles/logs.cpp b/Telegram/SourceFiles/logs.cpp index b61a2d29b..d556d5ec2 100644 --- a/Telegram/SourceFiles/logs.cpp +++ b/Telegram/SourceFiles/logs.cpp @@ -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);