mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 22:14:45 -04:00
Separate construction/destruction for the source input plugin core and the GUI
This commit is contained in:
@@ -40,8 +40,7 @@ PlutoSDRInputGui::PlutoSDRInputGui(DeviceSourceAPI *deviceAPI, QWidget* parent)
|
||||
m_doApplySettings(true),
|
||||
m_statusCounter(0)
|
||||
{
|
||||
m_sampleSource = new PlutoSDRInput(m_deviceAPI);
|
||||
m_deviceAPI->setSampleSource(m_sampleSource);
|
||||
m_sampleSource = (PlutoSDRInput*) m_deviceAPI->getSampleSource();
|
||||
|
||||
ui->setupUi(this);
|
||||
ui->centerFrequency->setColorMapper(ColorMapper(ColorMapper::GrayGold));
|
||||
|
||||
Reference in New Issue
Block a user