From d0445685bf9a1723c8550fbdf115b3b86059174c Mon Sep 17 00:00:00 2001 From: Al Date: Thu, 10 Jan 2019 23:51:53 +0100 Subject: Fix #523 by resetting m_URL after install. --- src/installationmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/installationmanager.cpp') 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 &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 -- cgit v1.3.1