summaryrefslogtreecommitdiff
path: root/src/processrunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/processrunner.cpp')
-rw-r--r--src/processrunner.cpp4
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());