1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-22 08:04:49 -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();
}
m_airspyHFWorkerThread = new QThread(this);
m_airspyHFWorkerThread = new QThread();
m_airspyHFWorker = new AirspyHFWorker(m_dev, &m_sampleFifo);
m_airspyHFWorker->moveToThread(m_airspyHFWorkerThread);
int sampleRateIndex = m_settings.m_devSampleRateIndex;