diff options
-rw-r--r-- | src/other/inputfilter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/other/inputfilter.cpp b/src/other/inputfilter.cpp index 9e4ee7c..d98da52 100644 --- a/src/other/inputfilter.cpp +++ b/src/other/inputfilter.cpp @@ -106,6 +106,7 @@ QtSimulatorPrivate::TouchEventData InputFilter::createTouchEventFromMouseEvent(W touchPoint.lastNormalizedPos = QPointF(touchPoint.lastScreenPos.x() / display->width(), touchPoint.lastScreenPos.y() / display->height()); touchPoint.pressure = .75; + touchPoint.state = static_cast<Qt::TouchPointStates>(touchEvent.touchPointStates); touchPointList.append(touchPoint); } touchEvent.touchPoints = touchPointList; |