1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -04:00

Replace deprecated QWheelEvent.delta by angleDelta

This commit is contained in:
Jiří Pinkava
2022-09-24 20:23:28 +02:00
parent 27f09fa53e
commit c29d3b6433
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -386,7 +386,7 @@ void ValueDial::wheelEvent(QWheelEvent *event)
if (m_animationState == 0)
{
if (event->delta() < 0)
if (event->angleDelta().y() < 0)
{
if (event->modifiers() & Qt::ShiftModifier) {
e *= 5;