Fix QTabletEvent manual tests
- QPainterPath needs an explicit include now - QTabletEvent::device() is deprecated Change-Id: I2d1086847ee2cf5ed63e345c7c2d6eb43897f0e4 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
5c1bc5c8a4
commit
f515ca5dcd
@ -58,7 +58,7 @@ bool TabletWidget::eventFilter(QObject *, QEvent *ev)
|
||||
mPos = event->pos();
|
||||
mGPos = event->globalPos();
|
||||
mHiResGlobalPos = event->posF();
|
||||
mDev = event->device();
|
||||
mDev = event->deviceType();
|
||||
mPointerType = event->pointerType();
|
||||
mUnique = event->uniqueId();
|
||||
mXT = event->xTilt();
|
||||
|
@ -37,6 +37,7 @@
|
||||
#include <QStatusBar>
|
||||
#include <QVector>
|
||||
#include <QPainter>
|
||||
#include <QPainterPath>
|
||||
#include <QCursor>
|
||||
|
||||
enum TabletPointType {
|
||||
|
Loading…
Reference in New Issue
Block a user