mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-12 18:58:48 -04:00
Replace deprecated QWheelEvent.pos by position
This commit is contained in:
@@ -367,7 +367,7 @@ void ValueDial::mouseMoveEvent(QMouseEvent *event)
|
||||
void ValueDial::wheelEvent(QWheelEvent *event)
|
||||
{
|
||||
int i;
|
||||
i = (event->x() - 1) / m_digitWidth;
|
||||
i = (event->position().x() - 1) / m_digitWidth;
|
||||
|
||||
if (m_text[i] != m_groupSeparator) {
|
||||
m_hightlightedDigit = i;
|
||||
|
||||
Reference in New Issue
Block a user