diff options
| author | Silarn <jrim@rimpo.org> | 2018-05-01 12:37:07 -0500 |
|---|---|---|
| committer | Silarn <jrim@rimpo.org> | 2018-05-01 12:37:07 -0500 |
| commit | 584c6049f981e601f6c88c00823ee322c9002bbe (patch) | |
| tree | 73aff2c2c4c21e6fc4ff2aea0c436300813a3120 /src/installationmanager.cpp | |
| parent | 2b7274380ea101e3d33e9177d7d8e06011cba6e7 (diff) | |
Remove redundant code causing multiple installs
Diffstat (limited to 'src/installationmanager.cpp')
| -rw-r--r-- | src/installationmanager.cpp | 9 |
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);
|
