diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2020-08-26 02:15:37 +0200 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2020-08-26 02:15:37 +0200 |
| commit | c23ee0b1dcd0cdcc15a881a2a6f45d2675e1c0a9 (patch) | |
| tree | df193332286238c22cb28a061c05e69d7b04992a /src/installationmanager.h | |
| parent | 6f232d566e9a7b67eae0cef4aaa46938072b3c20 (diff) | |
Mark downloads of replaced mods as uninstalled
Diffstat (limited to 'src/installationmanager.h')
| -rw-r--r-- | src/installationmanager.h | 7 |
1 files changed, 6 insertions, 1 deletions
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<QString> &modName, bool *merge = nullptr) const; + virtual bool testOverwrite(MOBase::GuessedValue<QString> &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 { |
