summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAL <26797547+Al12rs@users.noreply.github.com>2020-02-17 02:11:42 +0100
committerAL <26797547+Al12rs@users.noreply.github.com>2020-02-17 02:11:42 +0100
commit29b331817c5aecea3870d4a57694e46950ae362c (patch)
tree6efffcaf647d5a3cc8dc24a3d8fe64ccdbcdef0b /src
parentedc7f3d5b26c3e087308f518f4c7c6e3a6115e4a (diff)
Remove duplicated updateFromDisc() call during refresh
comment mentioned that it was needed but it was very old and testing would suggest this is no longer the case.
Diffstat (limited to 'src')
-rw-r--r--src/organizercore.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 12302df2..04d78ca8 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -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();
}