summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSilarn <jrim@rimpo.org>2018-05-01 12:37:07 -0500
committerSilarn <jrim@rimpo.org>2018-05-01 12:37:07 -0500
commit584c6049f981e601f6c88c00823ee322c9002bbe (patch)
tree73aff2c2c4c21e6fc4ff2aea0c436300813a3120 /src
parent2b7274380ea101e3d33e9177d7d8e06011cba6e7 (diff)
Remove redundant code causing multiple installs
Diffstat (limited to 'src')
-rw-r--r--src/installationmanager.cpp9
1 files changed, 0 insertions, 9 deletions
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);