diff --git a/sdrbase/plugin/pluginmanager.cpp b/sdrbase/plugin/pluginmanager.cpp index a9c1684cf..b82c0c414 100644 --- a/sdrbase/plugin/pluginmanager.cpp +++ b/sdrbase/plugin/pluginmanager.cpp @@ -221,32 +221,32 @@ void PluginManager::freeAll() } } -bool PluginManager::handleMessage(const Message& message) -{ - if (m_sampleSourcePluginGUI != 0) - { - if ((message.getDestination() == 0) || (message.getDestination() == m_sampleSourcePluginGUI)) - { - if (m_sampleSourcePluginGUI->handleMessage(message)) - { - return true; - } - } - } - - for (ChannelInstanceRegistrations::iterator it = m_channelInstanceRegistrations.begin(); it != m_channelInstanceRegistrations.end(); ++it) - { - if ((message.getDestination() == 0) || (message.getDestination() == it->m_gui)) - { - if (it->m_gui->handleMessage(message)) - { - return true; - } - } - } - - return false; -} +//bool PluginManager::handleMessage(const Message& message) +//{ +// if (m_sampleSourcePluginGUI != 0) +// { +// if ((message.getDestination() == 0) || (message.getDestination() == m_sampleSourcePluginGUI)) +// { +// if (m_sampleSourcePluginGUI->handleMessage(message)) +// { +// return true; +// } +// } +// } +// +// for (ChannelInstanceRegistrations::iterator it = m_channelInstanceRegistrations.begin(); it != m_channelInstanceRegistrations.end(); ++it) +// { +// if ((message.getDestination() == 0) || (message.getDestination() == it->m_gui)) +// { +// if (it->m_gui->handleMessage(message)) +// { +// return true; +// } +// } +// } +// +// return false; +//} void PluginManager::updateSampleSourceDevices() { diff --git a/sdrbase/plugin/pluginmanager.h b/sdrbase/plugin/pluginmanager.h index d80aa2728..f3f26a943 100644 --- a/sdrbase/plugin/pluginmanager.h +++ b/sdrbase/plugin/pluginmanager.h @@ -54,7 +54,7 @@ public: void freeAll(); - bool handleMessage(const Message& message); +// bool handleMessage(const Message& message); void updateSampleSourceDevices(); void fillSampleSourceSelector(QComboBox* comboBox);