diff --git a/client/mapview.cpp b/client/mapview.cpp index 2067113b66..c8a132d177 100644 --- a/client/mapview.cpp +++ b/client/mapview.cpp @@ -373,10 +373,7 @@ void map_view::resizeEvent(QResizeEvent *event) */ void map_view::wheelEvent(QWheelEvent *event) { - auto delta = event->pixelDelta(); - if (delta.isNull()) { - delta = event->angleDelta(); - } + auto delta = event->angleDelta(); if (event->modifiers() == Qt::NoModifier) { // Scrolling