Qt: remove some more leftovers of Qt4

This commit is contained in:
wmayer
2022-03-19 23:27:28 +01:00
parent 83d3a916c0
commit e28f2a0c47
13 changed files with 6 additions and 103 deletions

View File

@@ -482,11 +482,7 @@ void ImageView::wheelEvent(QWheelEvent * cEvent)
#endif
// Zoom around centrally displayed image point
#if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
int numTicks = cEvent->angleDelta().y() / 120;
#else
int numTicks = cEvent->delta() / 120;
#endif
if (_invertZoom)
numTicks = -numTicks;