From 0b1b996e3348bfe0d8c32b3f5f7b5a4926892ebf Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 24 Jul 2023 10:44:36 +0400 Subject: [PATCH] Fix build with MSVC. --- Telegram/SourceFiles/core/launcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/core/launcher.cpp b/Telegram/SourceFiles/core/launcher.cpp index 35b168d9a..b18f0b541 100644 --- a/Telegram/SourceFiles/core/launcher.cpp +++ b/Telegram/SourceFiles/core/launcher.cpp @@ -397,7 +397,7 @@ int Launcher::exec() { bool Launcher::validateCustomWorkingDir() { if (customWorkingDir()) { if (_customWorkingDir == cWorkingDir()) { - _customWorkingDir = {}; + _customWorkingDir = QString(); return false; } cForceWorkingDir(_customWorkingDir);