From 0c771d009214fce5bb32afe1377f87745e1e0d45 2017-06-07 13:51:50 From: Alexandre Leroux Date: 2017-06-07 13:51:50 Subject: [PATCH] Implements method to get the number of plugins loaded --- diff --git a/core/src/Plugin/PluginManager.cpp b/core/src/Plugin/PluginManager.cpp index bce6d8b..5609cfe 100644 --- a/core/src/Plugin/PluginManager.cpp +++ b/core/src/Plugin/PluginManager.cpp @@ -114,6 +114,5 @@ void PluginManager::loadPlugins(const QDir &pluginDir) int PluginManager::nbPluginsLoaded() const noexcept { - /// @todo ALX - return 0; + return impl->m_RegisteredPlugins.size(); }