From 94140bcbd7ff3278673b48d938e1c2815fc3a9aa Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Tue, 20 Sep 2022 21:09:54 +0100 Subject: [PATCH] Don't use this as parent, as called from different thread --- plugins/samplesource/airspyhf/airspyhfinput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/samplesource/airspyhf/airspyhfinput.cpp b/plugins/samplesource/airspyhf/airspyhfinput.cpp index 1387a55dc..367c0733b 100644 --- a/plugins/samplesource/airspyhf/airspyhfinput.cpp +++ b/plugins/samplesource/airspyhf/airspyhfinput.cpp @@ -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;