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
1 changed files with 1 additions and 1 deletions

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