mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Fixed source plugins virtual methods. All sample source plugins
This commit is contained in:
@@ -57,9 +57,9 @@ PluginInterface::SampleSourceDevices RTLSDRPlugin::enumSampleSources()
|
||||
return result;
|
||||
}
|
||||
|
||||
PluginGUI* RTLSDRPlugin::createSampleSourcePluginGUI(const QString& sourceName, const QByteArray& address)
|
||||
PluginGUI* RTLSDRPlugin::createSampleSourcePluginGUI(const QString& sourceId)
|
||||
{
|
||||
if(sourceName == "org.osmocom.sdr.samplesource.rtl-sdr") {
|
||||
if(sourceId == "org.osmocom.sdr.samplesource.rtl-sdr") {
|
||||
RTLSDRGui* gui = new RTLSDRGui(m_pluginAPI);
|
||||
m_pluginAPI->setInputGUI(gui);
|
||||
return gui;
|
||||
|
||||
Reference in New Issue
Block a user