From 568b2abc1244228670a0d0e1dea768d8a7d8727e Mon Sep 17 00:00:00 2001 From: Tannin Date: Fri, 18 Dec 2015 20:16:28 +0100 Subject: removed close-mo feature --- src/executableslist.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/executableslist.cpp') diff --git a/src/executableslist.cpp b/src/executableslist.cpp index a4511ade..9fe4596c 100644 --- a/src/executableslist.cpp +++ b/src/executableslist.cpp @@ -50,7 +50,6 @@ void ExecutablesList::init(IPluginGame const *game) info.binary().absoluteFilePath(), info.arguments().join(" "), info.workingDirectory().absolutePath(), - info.closeMO(), info.steamAppID()); } } @@ -135,7 +134,6 @@ void ExecutablesList::updateExecutable(const QString &title, const QString &executableName, const QString &arguments, const QString &workingDirectory, - ExecutableInfo::CloseMOStyle closeMO, const QString &steamAppID, Executable::Flags mask, Executable::Flags flags) @@ -146,7 +144,6 @@ void ExecutablesList::updateExecutable(const QString &title, if (existingExe != m_Executables.end()) { existingExe->m_Title = title; - existingExe->m_CloseMO = closeMO; existingExe->m_Flags &= ~mask; existingExe->m_Flags |= flags; // for pre-configured executables don't overwrite settings we didn't store @@ -162,7 +159,6 @@ void ExecutablesList::updateExecutable(const QString &title, } else { Executable newExe; newExe.m_Title = title; - newExe.m_CloseMO = closeMO; newExe.m_BinaryInfo = file; newExe.m_Arguments = arguments; newExe.m_WorkingDirectory = workingDirectory; @@ -186,12 +182,11 @@ void ExecutablesList::remove(const QString &title) void ExecutablesList::addExecutableInternal(const QString &title, const QString &executableName, const QString &arguments, const QString &workingDirectory, - ExecutableInfo::CloseMOStyle closeMO, const QString &steamAppID) + const QString &steamAppID) { QFileInfo file(executableName); if (file.exists()) { Executable newExe; - newExe.m_CloseMO = closeMO; newExe.m_BinaryInfo = file; newExe.m_Title = title; newExe.m_Arguments = arguments; -- cgit v1.3.1