GLSpectrum: reverted change breaking Qt 5.12 compatibility

pull/958/head
f4exb 2021-07-07 08:49:46 +02:00
rodzic bd3aa8faf0
commit 55745d3b5e
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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