Compile fix.

This commit is contained in:
Leonardo Zide 2020-11-14 12:53:58 -08:00
parent e2fb7b2ed9
commit 8d4a9644b5

View file

@ -15,7 +15,6 @@
#include "lc_texture.h"
#include "lc_mesh.h"
#include "lc_profile.h"
#include "lc_previewwidget.h"
static QList<QGLWidget*> gWidgetList;
@ -360,7 +359,7 @@ void lcQGLWidget::wheelEvent(QWheelEvent* WheelEvent)
#if (QT_VERSION >= QT_VERSION_CHECK(5, 2, 0))
mWheelAccumulator += WheelEvent->angleDelta().y() / 8;
#else
mWheelAccumulator += event->delta() / 8;
mWheelAccumulator += WheelEvent->delta() / 8;
#endif
int numSteps = mWheelAccumulator / 15;