summaryrefslogtreecommitdiff
path: root/src/installationmanager.cpp
diff options
context:
space:
mode:
authorMikaël Capelle <capelle.mikael@gmail.com>2020-09-22 22:03:16 +0200
committerMikaël Capelle <capelle.mikael@gmail.com>2020-09-22 22:03:16 +0200
commit8980153a2cba833cf8817e15e814bc7b6c2d2230 (patch)
tree7270d08ddc7ef5f40337746ba013bbf045b54f16 /src/installationmanager.cpp
parentd9a8e67598b88d13b09d3e43c8f40418dea1f2a5 (diff)
Add 'reinstallation' parameter to onInstallationStart().
Diffstat (limited to 'src/installationmanager.cpp')
-rw-r--r--src/installationmanager.cpp4
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());
}
}