summaryrefslogtreecommitdiff
path: root/src/processrunner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/processrunner.cpp')
-rw-r--r--src/processrunner.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/processrunner.cpp b/src/processrunner.cpp
index 1d9da96b..dba29bd2 100644
--- a/src/processrunner.cpp
+++ b/src/processrunner.cpp
@@ -515,13 +515,6 @@ ProcessRunner& ProcessRunner::setFromFileOrExecutable(
setProfileName(profileOverride);
- //QFileInfo binary;
- //QString arguments = args.join(" ");
- //QString currentDirectory = cwd;
- //QString steamAppID;
- //QString customOverwrite;
- //QList<ExecutableForcedLoadSetting> forcedLibraries;
-
if (executable.contains('\\') || executable.contains('/')) {
// file path
@@ -669,25 +662,6 @@ DWORD ProcessRunner::exitCode()
}
-bool ProcessRunner::runExecutableFile(
- const QFileInfo &binary, const QString &arguments,
- const QDir &currentDirectory, const QString &steamAppID,
- const QString &customOverwrite,
- const QList<MOBase::ExecutableForcedLoadSetting> &forcedLibraries,
- bool refresh)
-{
- setBinary(binary);
- setArguments(arguments);
- setCurrentDirectory(currentDirectory);
- setSteamID(steamAppID);
- setCustomOverwrite(customOverwrite);
- setForcedLibraries(forcedLibraries);
- setWaitForCompletion(refresh ? Refresh : NoRefresh);
-
- const auto r = run();
- return (r != Error);
-}
-
bool ProcessRunner::runExecutable(const Executable& exe, bool refresh)
{
setFromExecutable(exe);