1
0
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:
Jiří Pinkava
2022-09-24 21:20:56 +02:00
parent c29d3b6433
commit a9f1c072d9
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;