Commit 560b89f5 authored by David Jarvie's avatar David Jarvie
Browse files

Replace deprecated function calls

parent 5d26a99f
......@@ -678,12 +678,12 @@ void SpinMirror::wheelEvent(QWheelEvent* e)
{
if (mReadOnly)
return;
QPointF pt = e->posF();
QPointF pt = e->position();
QGraphicsItem* item = scene()->itemAt(pt, QTransform());
if (item == mButtons)
{
pt = spinboxPoint(pt);
QApplication::postEvent(mSpinbox, new QWheelEvent(pt, e->delta(), e->buttons(), e->modifiers()), e->orientation());
QApplication::postEvent(mSpinbox, new QWheelEvent(pt, e->globalPosition(), e->pixelDelta(), e->angleDelta(), e->buttons(), e->modifiers(), e->phase(), e->inverted(), e->source()));
}
}
......
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