summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
authorAl <26797547+Al12rs@users.noreply.github.com>2020-08-26 11:23:28 -0700
committerGitHub <noreply@github.com>2020-08-26 11:23:28 -0700
commitabc714c624712682b6f2b5c174d7cbd76ef8b51e (patch)
tree3917cac078bfaa6afe37bffeb3e3bdb9d2c0bf49 /src/installationmanager.h
parentdf26f7588082468d2348c678e8c4b016fe6a0cc4 (diff)
parentc23ee0b1dcd0cdcc15a881a2a6f45d2675e1c0a9 (diff)
Merge pull request #1214 from Al12rs/mark_uninstalled_when_replacing
Mark downloads of replaced mods as uninstalled
Diffstat (limited to 'src/installationmanager.h')
-rw-r--r--src/installationmanager.h7
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 {