mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 21:54:55 -04:00
Removed direct reference to the DeviceSourceAPI in the source GUIs
This commit is contained in:
@@ -120,12 +120,11 @@ PluginInterface::SamplingDevices HackRFInputPlugin::enumSampleSources()
|
||||
PluginInstanceGUI* HackRFInputPlugin::createSampleSourcePluginInstanceGUI(
|
||||
const QString& sourceId,
|
||||
QWidget **widget,
|
||||
DeviceSourceAPI *deviceAPI,
|
||||
DeviceUISet *deviceUISet)
|
||||
{
|
||||
if(sourceId == m_deviceTypeID)
|
||||
{
|
||||
HackRFInputGui* gui = new HackRFInputGui(deviceAPI, deviceUISet);
|
||||
HackRFInputGui* gui = new HackRFInputGui(deviceUISet);
|
||||
*widget = gui;
|
||||
return gui;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user