avoid deprecation warnings
This commit is contained in:
parent
89b8321ed7
commit
263eef1e9a
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user