From 55745d3b5e4eb5fade5f81be4813b9097b3cf74d Mon Sep 17 00:00:00 2001 From: f4exb Date: Wed, 7 Jul 2021 08:49:46 +0200 Subject: [PATCH] GLSpectrum: reverted change breaking Qt 5.12 compatibility --- sdrgui/gui/glspectrum.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdrgui/gui/glspectrum.cpp b/sdrgui/gui/glspectrum.cpp index c5cae7d48..f5fcd03a7 100644 --- a/sdrgui/gui/glspectrum.cpp +++ b/sdrgui/gui/glspectrum.cpp @@ -2484,7 +2484,7 @@ void GLSpectrum::channelMarkerMove(QWheelEvent *event, int mul) continue; } - if (m_channelMarkerStates[i]->m_rect.contains(event->position().toPoint())) + if (m_channelMarkerStates[i]->m_rect.contains(event->pos())) { int freq = m_channelMarkerStates[i]->m_channelMarker->getCenterFrequency();