diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-09-22 22:03:16 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-09-22 22:03:16 +0200 |
| commit | 8980153a2cba833cf8817e15e814bc7b6c2d2230 (patch) | |
| tree | 7270d08ddc7ef5f40337746ba013bbf045b54f16 /src/installationmanager.cpp | |
| parent | d9a8e67598b88d13b09d3e43c8f40418dea1f2a5 (diff) | |
Add 'reinstallation' parameter to onInstallationStart().
Diffstat (limited to 'src/installationmanager.cpp')
| -rw-r--r-- | src/installationmanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp index b60c8704..f50a4157 100644 --- a/src/installationmanager.cpp +++ b/src/installationmanager.cpp @@ -869,10 +869,10 @@ QStringList InstallationManager::getSupportedExtensions() const return QStringList(std::begin(m_SupportedExtensions), std::end(m_SupportedExtensions)); } -void InstallationManager::notifyInstallationStart(QString const& archive, ModInfo::Ptr currentMod) +void InstallationManager::notifyInstallationStart(QString const& archive, bool reinstallation, ModInfo::Ptr currentMod) { for (auto* installer : m_Installers) { - installer->onInstallationStart(archive, currentMod.get()); + installer->onInstallationStart(archive, reinstallation, currentMod.get()); } } |
