diff options
| author | Al <gabriel.cortesi@outlook.com> | 2019-01-10 23:51:53 +0100 |
|---|---|---|
| committer | Al <gabriel.cortesi@outlook.com> | 2019-01-10 23:51:53 +0100 |
| commit | d0445685bf9a1723c8550fbdf115b3b86059174c (patch) | |
| tree | de10d7eb50e7de0237ba008e021c54616940c2c0 /src/installationmanager.cpp | |
| parent | 14b117d74a9953ce415279eeb8debacd1bcd912f (diff) | |
Fix #523 by resetting m_URL after install.
Diffstat (limited to 'src/installationmanager.cpp')
| -rw-r--r-- | src/installationmanager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp index 57c5e861..50e170d2 100644 --- a/src/installationmanager.cpp +++ b/src/installationmanager.cpp @@ -643,6 +643,9 @@ bool InstallationManager::doInstall(GuessedValue<QString> &modName, QString game settingsFile.setValue("repository", repository); settingsFile.setValue("url", m_URL); + //cleanup of m_URL or this will persist across installs. + m_URL = ""; + if (!merge) { // this does not clear the list we have in memory but the mod is going to have to be re-read anyway // btw.: installedFiles were written with beginWriteArray but we can still clear it with beginGroup. nice |
