From db0347212a509b9ceef1cede61a4afd7d2253014 Mon Sep 17 00:00:00 2001 From: Tannin Date: Fri, 22 Nov 2013 17:45:34 +0100 Subject: - 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 --- src/installationmanager.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/installationmanager.h') diff --git a/src/installationmanager.h b/src/installationmanager.h index 1c6f9f19..8b1f8c9a 100644 --- a/src/installationmanager.h +++ b/src/installationmanager.h @@ -64,6 +64,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 * @@ -191,6 +197,7 @@ private: QWidget *m_ParentWidget; QString m_ModsDirectory; + QString m_DownloadsDirectory; std::vector m_Installers; std::set m_SupportedExtensions; -- cgit v1.3.1