summaryrefslogtreecommitdiff
path: root/src/organizercore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/organizercore.cpp')
-rw-r--r--src/organizercore.cpp14
1 files changed, 3 insertions, 11 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index c4f9e081..04d78ca8 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -106,7 +106,7 @@ OrganizerCore::OrganizerCore(Settings &settings)
, m_ArchivesInit(false)
, m_PluginListsWriter(std::bind(&OrganizerCore::savePluginList, this))
{
- m_DownloadManager.setOutputDirectory(m_Settings.paths().downloads());
+ m_DownloadManager.setOutputDirectory(m_Settings.paths().downloads(), false);
NexusInterface::instance(m_PluginContainer)->setCacheDirectory(
m_Settings.paths().cache());
@@ -200,9 +200,9 @@ void OrganizerCore::updateExecutablesList()
}
m_ExecutablesList.load(managedGame(), m_Settings);
+}
- // TODO this has nothing to do with executables list move to an appropriate
- // function!
+void OrganizerCore::updateModInfoFromDisc() {
ModInfo::updateFromDisc(
m_Settings.paths().mods(), &m_DirectoryStructure,
m_PluginContainer, m_Settings.interface().displayForeign(), managedGame());
@@ -1426,14 +1426,6 @@ void OrganizerCore::directory_refreshed()
void OrganizerCore::profileRefresh()
{
- // have to refresh mods twice (again in refreshModList), otherwise the refresh
- // isn't complete. Not sure why
- ModInfo::updateFromDisc(
- m_Settings.paths().mods(), &m_DirectoryStructure,
- m_PluginContainer, m_Settings.interface().displayForeign(), managedGame());
-
- m_CurrentProfile->refreshModStatus();
-
refreshModList();
}