diff options
| author | TanninOne <seppleviathan@gmx.de> | 2015-12-04 22:30:35 +0100 |
|---|---|---|
| committer | TanninOne <seppleviathan@gmx.de> | 2015-12-04 22:30:35 +0100 |
| commit | 688e149c96c29d8249c9db416f5773cfc7baad6d (patch) | |
| tree | 3a59b3fce8da8afec776e275aca979681711d4de /src/installationmanager.cpp | |
| parent | 87d5fe28f6000e7a711fe56aa5e9bedfd89128fb (diff) | |
| parent | d4754f4d3ca7451d784e89ae1ddef240666dfdf8 (diff) | |
Merge pull request #334 from ThosRTanner/issue/308
Allow right click on module to see web link if supplied in fomod
Diffstat (limited to 'src/installationmanager.cpp')
| -rw-r--r-- | src/installationmanager.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp index f96cd0f3..9fb9bdbb 100644 --- a/src/installationmanager.cpp +++ b/src/installationmanager.cpp @@ -100,6 +100,10 @@ void InstallationManager::setParentWidget(QWidget *widget) }
}
+void InstallationManager::setURL(QString const &url)
+{
+ m_URL = url;
+}
void InstallationManager::queryPassword(QString *password)
{
@@ -582,6 +586,7 @@ bool InstallationManager::doInstall(GuessedValue<QString> &modName, int modID, }
settingsFile.setValue("installationFile", m_CurrentFile);
settingsFile.setValue("repository", repository);
+ settingsFile.setValue("url", 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
|
