mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 08:24:43 -04:00
Better fix previous source plugin GUI delete by doing it explicitly in the main window
This commit is contained in:
@@ -6,20 +6,20 @@
|
||||
|
||||
void PluginInterface::deleteSampleSourcePluginInstanceGUI(PluginInstanceGUI *ui)
|
||||
{
|
||||
ui->destroy();
|
||||
if (ui) { ui->destroy(); }
|
||||
}
|
||||
|
||||
void PluginInterface::deleteSampleSourcePluginInstanceInput(DeviceSampleSource *source)
|
||||
{
|
||||
source->destroy();
|
||||
if (source) { source->destroy(); }
|
||||
}
|
||||
|
||||
void PluginInterface::deleteSampleSinkPluginInstanceGUI(PluginInstanceGUI *ui)
|
||||
{
|
||||
ui->destroy();
|
||||
if (ui) { ui->destroy(); }
|
||||
}
|
||||
|
||||
void PluginInterface::deleteSampleSinkPluginInstanceOutput(DeviceSampleSink *sink)
|
||||
{
|
||||
sink->destroy();
|
||||
if (sink) { sink->destroy(); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user