Commit cd803e0c authored by Allen Winter's avatar Allen Winter
Browse files

src/lib/spinbox2.cpp - fix compile on Qt version < 5.14

parent 79f8579d
......@@ -679,9 +679,9 @@ void SpinMirror::wheelEvent(QWheelEvent* e)
if (mReadOnly)
return;
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
QPointF pt = e->position();
#else
QPointF pt = e->posF();
#else
QPointF pt = e->position();
#endif
QGraphicsItem* item = scene()->itemAt(pt, QTransform());
if (item == mButtons)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment