avoid deprecation warnings

This commit is contained in:
Uwe Rathmann 2020-03-12 09:57:12 +01:00
parent 89b8321ed7
commit 263eef1e9a

View File

@ -158,7 +158,12 @@ bool QskInputGrabber::event( QEvent* event )
case QEvent::Wheel:
{
const auto ev = static_cast< QWheelEvent* >( event );
#if QT_VERSION < 0x050e00
doBlock = isBlocking( ev->posF() );
#else
doBlock = isBlocking( ev->position() );
#endif
break;
}
case QEvent::HoverEnter: