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

GLSpectrum: reverted change breaking Qt 5.12 compatibility

This commit is contained in:
f4exb 2021-07-07 08:49:46 +02:00
parent bd3aa8faf0
commit 55745d3b5e

View File

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