1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

Don't use this as parent, as called from different thread

This commit is contained in:
Jon Beniston 2022-09-20 21:09:54 +01:00
parent 63282ebfcd
commit 94140bcbd7

View File

@ -175,7 +175,7 @@ bool AirspyHFInput::start()
stop(); stop();
} }
m_airspyHFWorkerThread = new QThread(this); m_airspyHFWorkerThread = new QThread();
m_airspyHFWorker = new AirspyHFWorker(m_dev, &m_sampleFifo); m_airspyHFWorker = new AirspyHFWorker(m_dev, &m_sampleFifo);
m_airspyHFWorker->moveToThread(m_airspyHFWorkerThread); m_airspyHFWorker->moveToThread(m_airspyHFWorkerThread);
int sampleRateIndex = m_settings.m_devSampleRateIndex; int sampleRateIndex = m_settings.m_devSampleRateIndex;