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