1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-17 13:19:25 -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
@@ -439,7 +439,7 @@ void ValueDialZ::wheelEvent(QWheelEvent* event)
{
qint64 e = findExponent(m_hightlightedDigit);
if(event->delta() < 0)
if(event->angleDelta().y() < 0)
{
if (event->modifiers() & Qt::ShiftModifier) {
e *= 5;