diff options
Diffstat (limited to 'tests/manual/qtabletevent/device_information')
-rw-r--r-- | tests/manual/qtabletevent/device_information/device_information.pro | 1 | ||||
-rw-r--r-- | tests/manual/qtabletevent/device_information/tabletwidget.cpp | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/tests/manual/qtabletevent/device_information/device_information.pro b/tests/manual/qtabletevent/device_information/device_information.pro index 59669843ba..727ad34bc1 100644 --- a/tests/manual/qtabletevent/device_information/device_information.pro +++ b/tests/manual/qtabletevent/device_information/device_information.pro @@ -4,4 +4,3 @@ SOURCES += \ tabletwidget.cpp HEADERS += \ tabletwidget.h -DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 diff --git a/tests/manual/qtabletevent/device_information/tabletwidget.cpp b/tests/manual/qtabletevent/device_information/tabletwidget.cpp index f1d838f01d..2462bb3701 100644 --- a/tests/manual/qtabletevent/device_information/tabletwidget.cpp +++ b/tests/manual/qtabletevent/device_information/tabletwidget.cpp @@ -61,7 +61,7 @@ bool TabletWidget::eventFilter(QObject *, QEvent *ev) mType = event->type(); mPos = event->pos(); mGPos = event->globalPos(); - mHiResGlobalPos = event->hiResGlobalPos(); + mHiResGlobalPos = event->posF(); mDev = event->device(); mPointerType = event->pointerType(); mUnique = event->uniqueId(); |