summaryrefslogtreecommitdiff
path: root/src/spawn.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2020-07-22 23:27:01 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2020-11-03 11:39:02 -0500
commit9435202034cafb05ffc11aed48ff57536bce73f7 (patch)
tree03c6ad6d1125248dc727d7904721883ac06b616e /src/spawn.cpp
parentf97e40f127441828eb4ffe11841ebf79191ac8a3 (diff)
removed flags from SingleInstance because there's only one left
refactoring in main.cpp: - moved stuff to loglist.cpp and moapplication.cpp - split main() into a few functions
Diffstat (limited to 'src/spawn.cpp')
-rw-r--r--src/spawn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spawn.cpp b/src/spawn.cpp
index 2016bb23..a9ecb61e 100644
--- a/src/spawn.cpp
+++ b/src/spawn.cpp
@@ -488,7 +488,7 @@ DWORD spawn(const SpawnParameters& sp, HANDLE& processHandle)
}
const QString moPath = QCoreApplication::applicationDirPath();
- const auto oldPath = env::addPath(QDir::toNativeSeparators(moPath));
+ const auto oldPath = env::appendToPath(QDir::toNativeSeparators(moPath));
PROCESS_INFORMATION pi = {};
BOOL success = FALSE;