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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user