tslib: avoid deprecated overload
Change-Id: Iab0c25c38d62303986a1f5739cc48de15b35dea2 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
e20f4d966e
commit
93466daf13
@ -129,7 +129,9 @@ void QTsLibMouseHandler::readMouseData()
|
||||
}
|
||||
QPoint pos(x, y);
|
||||
|
||||
QWindowSystemInterface::handleMouseEvent(0, pos, pos, pressed ? Qt::LeftButton : Qt::NoButton);
|
||||
QWindowSystemInterface::handleMouseEvent(nullptr, pos, pos,
|
||||
pressed ? Qt::LeftButton : Qt::NoButton,
|
||||
Qt::NoButton, QEvent::None);
|
||||
|
||||
m_x = x;
|
||||
m_y = y;
|
||||
|
Loading…
Reference in New Issue
Block a user