summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2016-06-17 13:52:30 +0300
committerShawn Rutledge <shawn.rutledge@qt.io>2016-06-17 16:03:04 +0000
commita11ced49810d5b454876f6ea201b89ac3734d3fe (patch)
tree39e300e73a5cb55f2ed63b74d7f298353bb94db9
parentf7a0968da436f20f68ebff9bb9773afccf2bd5be (diff)
TuioTouch: Report empty touch areas for tokens
Currently TuioTouch plugin reports touch areas of size 1x1. It's inconsistent with the platform plugins which report empty touch areas when their size is unknown. Change-Id: I253e4f7a95e8fb3ecc76c809a9be2afe3c976bef Reviewed-by: Ariel Molina R <ariel@edis.mx> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
-rw-r--r--src/plugins/generic/tuiotouch/qtuiohandler.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/generic/tuiotouch/qtuiohandler.cpp b/src/plugins/generic/tuiotouch/qtuiohandler.cpp
index 86decd312b..fcf016f4ef 100644
--- a/src/plugins/generic/tuiotouch/qtuiohandler.cpp
+++ b/src/plugins/generic/tuiotouch/qtuiohandler.cpp
@@ -514,7 +514,6 @@ QWindowSystemInterface::TouchPoint QTuioHandler::tokenToTouchPoint(const QTuioTo
tp.normalPosition = m_transform.map(tp.normalPosition);
tp.state = tc.state();
- tp.area = QRectF(0, 0, 1, 1);
// We map the token position to the size of the window.
QPointF relPos = QPointF(win->size().width() * tp.normalPosition.x(), win->size().height() * tp.normalPosition.y());