diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-10-09 20:32:26 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-10-09 20:32:26 +0200 |
| commit | 9d7d55918c065d5d7f615cbd89e20ab7227f54ff (patch) | |
| tree | e75dfc6c59c3c55c3098998d2f33172406a38ba9 /src/installationmanager.cpp | |
| parent | 35b4aa1024bb6904846c36cdbbb638b3e6031cda (diff) | |
Add IModInterface::setUrl and remove IInstallationManager::setURL.
Diffstat (limited to 'src/installationmanager.cpp')
| -rw-r--r-- | src/installationmanager.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp index a755b0cb..e4937ed9 100644 --- a/src/installationmanager.cpp +++ b/src/installationmanager.cpp @@ -122,11 +122,6 @@ void InstallationManager::setParentWidget(QWidget *widget) } } -void InstallationManager::setURL(QString const &url) -{ - m_URL = url; -} - void InstallationManager::queryPassword() { m_Password = QInputDialog::getText(m_ParentWidget, tr("Password required"), tr("Password"), QLineEdit::Password); @@ -534,13 +529,6 @@ IPluginInstaller::EInstallResult InstallationManager::doInstall(GuessedValue<QSt settingsFile.setValue("installationFile", m_CurrentFile); settingsFile.setValue("repository", repository); - if (!m_URL.isEmpty() || !settingsFile.contains("url")) { - 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 |
