summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7c2a9b0e..59a4e837 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -469,7 +469,7 @@ int main(int argc, char *argv[])
arguments.removeFirst(); // remove application name (ModOrganizer.exe)
arguments.removeFirst(); // remove binary name
// pass the remaining parameters to the binary
- mainWindow.spawnProgram(exeName, arguments.join(" "), selectedProfileName, QDir());
+ mainWindow.startApplication(exeName, arguments, QString(), selectedProfileName);
return 0;
}