mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 13:36:48 +08:00
Ref T111, some fixes in the vicinity of plugin / drivers
* mostly style / doxygen / formatting * assert/verify
This commit is contained in:
committed by
Mathew Sutcliffe
parent
e72546d282
commit
29e1d54e05
@@ -34,11 +34,7 @@ namespace BlackCore
|
||||
|
||||
ISimulatorListener *CPluginManagerSimulator::createListener(const QString &pluginId)
|
||||
{
|
||||
if (!m_plugins.contains(pluginId))
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (!m_plugins.contains(pluginId)) { return nullptr; }
|
||||
PluginExtended &plugin = m_plugins[pluginId];
|
||||
if (!plugin.listener)
|
||||
{
|
||||
@@ -60,11 +56,7 @@ namespace BlackCore
|
||||
|
||||
ISimulatorListener *CPluginManagerSimulator::getListener(const QString &pluginId)
|
||||
{
|
||||
if (!m_plugins.contains(pluginId))
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (!m_plugins.contains(pluginId)) { return nullptr; }
|
||||
PluginExtended &plugin = m_plugins[pluginId];
|
||||
return plugin.listener;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user