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();