diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-04 13:32:47 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-12-04 13:32:47 +0100 |
| commit | 4118aef2a28964d1bffdb489bf2223fbd6f994db (patch) | |
| tree | ccb86010b0d4193da2dc019e17ba8a0b45ef708e /src/plugincontainer.cpp | |
| parent | a30d49f4fc845164ef6bba4d2a834efce1dc01d7 (diff) | |
Remove disconnectPlugins() from OrganizerCore.
Diffstat (limited to 'src/plugincontainer.cpp')
| -rw-r--r-- | src/plugincontainer.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/plugincontainer.cpp b/src/plugincontainer.cpp index 3c8050cf..a2f0d5f0 100644 --- a/src/plugincontainer.cpp +++ b/src/plugincontainer.cpp @@ -943,11 +943,6 @@ void PluginContainer::reloadPlugin(QString const& filepath) void PluginContainer::unloadPlugins()
{
- // disconnect all slots before unloading plugins so plugins don't have to take care of that
- if (m_Organizer) {
- m_Organizer->disconnectPlugins();
- }
-
bf::for_each(m_Plugins, [](auto& t) { t.second.clear(); });
bf::for_each(m_AccessPlugins, [](auto& t) { t.second.clear(); });
m_Requirements.clear();
|
