summaryrefslogtreecommitdiff
path: root/src/installationmanager.h
diff options
context:
space:
mode:
authorTannin <devnull@localhost>2013-11-22 17:45:34 +0100
committerTannin <devnull@localhost>2013-11-22 17:45:34 +0100
commitdb0347212a509b9ceef1cede61a4afd7d2253014 (patch)
tree406caa067ebf0a67cd42d08e684202703084e3a8 /src/installationmanager.h
parent5895a1a92d1f0463cec276c22e32f528a309d31c (diff)
- bugfix: installFile for mods was not a relative path if the downloads directory was non-default
- bugfix: crash after removing the last profile in the list (ordered alphabetically) - improved subdirs ordering to ensure pythonrunner is compiled before pythonproxy - translation files for plugins are now generated - set some texts as un-translatable where it made no sense - staging script now re-builds MO completely before packaging - updated qt libraries for packaging to 4.8.5 - added python to the package
Diffstat (limited to 'src/installationmanager.h')
-rw-r--r--src/installationmanager.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/installationmanager.h b/src/installationmanager.h
index 1c6f9f19..8b1f8c9a 100644
--- a/src/installationmanager.h
+++ b/src/installationmanager.h
@@ -65,6 +65,12 @@ public:
void setModsDirectory(const QString &modsDirectory) { m_ModsDirectory = modsDirectory; }
/**
+ * @brief update the directory where downloads are stored
+ * @param downloadDirectory the download directory
+ */
+ void setDownloadDirectory(const QString &downloadDirectory) { m_DownloadsDirectory = downloadDirectory; }
+
+ /**
* @brief install a mod from an archive
*
* @param fileName absolute file name of the archive to install
@@ -191,6 +197,7 @@ private:
QWidget *m_ParentWidget;
QString m_ModsDirectory;
+ QString m_DownloadsDirectory;
std::vector<MOBase::IPluginInstaller*> m_Installers;
std::set<QString, CaseInsensitive> m_SupportedExtensions;