diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-26 16:04:21 -0500 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-11-26 16:04:21 -0500 |
| commit | a87874497a3fbe7b3ac646479d4ba51883f5acc6 (patch) | |
| tree | 3fd865008c2768711a34cf4c64cb38c6e36c8dbf /src | |
| parent | e845126e09357f8713ca0c9f593970c7c634328e (diff) | |
cwd was MO instead of binary if non was specified in the exe settings
Diffstat (limited to 'src')
| -rw-r--r-- | src/processrunner.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/processrunner.cpp b/src/processrunner.cpp index ce1ac681..89777072 100644 --- a/src/processrunner.cpp +++ b/src/processrunner.cpp @@ -520,9 +520,9 @@ ProcessRunner& ProcessRunner::setFromExecutable(const Executable& exe) forcedLibraries = profile->determineForcedLibraries(exe.title()); } - QDir currentDirectory = exe.workingDirectory(); + QString currentDirectory = exe.workingDirectory(); if (currentDirectory.isEmpty()) { - currentDirectory.setPath(exe.binaryInfo().absolutePath()); + currentDirectory = exe.binaryInfo().absolutePath(); } setBinary(exe.binaryInfo()); |
