Fix build with MSVC.

This commit is contained in:
John Preston 2023-07-24 10:44:36 +04:00
parent 727bfd1059
commit 0b1b996e33

View file

@ -397,7 +397,7 @@ int Launcher::exec() {
bool Launcher::validateCustomWorkingDir() { bool Launcher::validateCustomWorkingDir() {
if (customWorkingDir()) { if (customWorkingDir()) {
if (_customWorkingDir == cWorkingDir()) { if (_customWorkingDir == cWorkingDir()) {
_customWorkingDir = {}; _customWorkingDir = QString();
return false; return false;
} }
cForceWorkingDir(_customWorkingDir); cForceWorkingDir(_customWorkingDir);