From c23ee0b1dcd0cdcc15a881a2a6f45d2675e1c0a9 Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Wed, 26 Aug 2020 02:15:37 +0200 Subject: Mark downloads of replaced mods as uninstalled --- src/installationmanager.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/installationmanager.h') diff --git a/src/installationmanager.h b/src/installationmanager.h index 695f2ed6..b3a7362f 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -185,7 +185,7 @@ public: * @param merge if this value is not null, the value will be set to whether the use chose to merge or replace * @return true if we can proceed with the installation, false if the user canceled or in case of an unrecoverable error */ - virtual bool testOverwrite(MOBase::GuessedValue &modName, bool *merge = nullptr) const; + virtual bool testOverwrite(MOBase::GuessedValue &modName, bool *merge = nullptr); QString generateBackupName(const QString &directoryName) const; @@ -225,6 +225,11 @@ signals: */ void progressUpdate(); + /** + * @brief An existing mod has been replaced with a newly installed one. + */ + void modReplaced(const QString fileName); + private: struct ByPriority { -- cgit v1.3.1