diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-11-11 21:42:05 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-11-11 21:42:05 +0100 |
| commit | 7ec0128eb59c085cd5961995280238cc22683b8e (patch) | |
| tree | 4530d9909f4dc439d2e8d07ec650ba959bc69452 | |
| parent | c0ace25a871c4d938fb4be10b0357e263db677cb (diff) | |
Remove incorrect warning.
| -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 ab68cc1d..bcd0db44 100644 --- a/src/plugincontainer.cpp +++ b/src/plugincontainer.cpp @@ -329,11 +329,6 @@ bool PluginContainer::initPlugin(IPlugin *plugin, IPluginProxy *pluginProxy) m_Requirements.emplace(plugin, PluginRequirements(this, plugin, proxy, pluginProxy));
- if (!plugin->master().isEmpty() && m_Requirements.at(plugin).hasRequirements()) {
- log::warn("a plugin cannot have requirements if it has a master");
- return false;
- }
-
return true;
}
|
