From 584c6049f981e601f6c88c00823ee322c9002bbe Mon Sep 17 00:00:00 2001 From: Silarn Date: Tue, 1 May 2018 12:37:07 -0500 Subject: Remove redundant code causing multiple installs --- src/installationmanager.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/installationmanager.cpp') diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp index 6785bf67..668be84e 100644 --- a/src/installationmanager.cpp +++ b/src/installationmanager.cpp @@ -785,15 +785,6 @@ bool InstallationManager::install(const QString &fileName, if (installerExt.find(fileInfo.suffix()) != installerExt.end()) { installResult = installerCustom->install(modName, fileName, version, modID); - if (installResult == IPluginInstaller::RESULT_SUCCESS) { - mapToArchive(filesTree.data()); - // the simple installer only prepares the installation, the rest - // works the same for all installers - if (!doInstall(modName, gameName, modID, version, newestVersion, categoryID, - repository)) { - installResult = IPluginInstaller::RESULT_FAILED; - } - } unsigned int idx = ModInfo::getIndex(modName); if (idx != UINT_MAX) { ModInfo::Ptr info = ModInfo::getByIndex(idx); -- cgit v1.3.1