diff --git a/plugins/platforms/hwcomposer/hwcomposer_backend.cpp b/plugins/platforms/hwcomposer/hwcomposer_backend.cpp index 58a9b88c02..115b61d779 100644 --- a/plugins/platforms/hwcomposer/hwcomposer_backend.cpp +++ b/plugins/platforms/hwcomposer/hwcomposer_backend.cpp @@ -83,7 +83,7 @@ bool BacklightInputEventFilter::keyEvent(QKeyEvent *event) return m_backend->isBacklightOff(); } -bool BacklightInputEventFilter::touchDown(quint32 id, const QPointF &pos, quint32 time) +bool BacklightInputEventFilter::touchDown(qint32 id, const QPointF &pos, quint32 time) { Q_UNUSED(pos) Q_UNUSED(time) @@ -111,7 +111,7 @@ bool BacklightInputEventFilter::touchDown(quint32 id, const QPointF &pos, quint3 return true; } -bool BacklightInputEventFilter::touchUp(quint32 id, quint32 time) +bool BacklightInputEventFilter::touchUp(qint32 id, quint32 time) { Q_UNUSED(time) m_touchPoints.removeAll(id); @@ -128,7 +128,7 @@ bool BacklightInputEventFilter::touchUp(quint32 id, quint32 time) return true; } -bool BacklightInputEventFilter::touchMotion(quint32 id, const QPointF &pos, quint32 time) +bool BacklightInputEventFilter::touchMotion(qint32 id, const QPointF &pos, quint32 time) { Q_UNUSED(id) Q_UNUSED(pos) diff --git a/plugins/platforms/hwcomposer/hwcomposer_backend.h b/plugins/platforms/hwcomposer/hwcomposer_backend.h index cadaff2684..fbc6381568 100644 --- a/plugins/platforms/hwcomposer/hwcomposer_backend.h +++ b/plugins/platforms/hwcomposer/hwcomposer_backend.h @@ -150,9 +150,9 @@ public: bool pointerEvent(QMouseEvent *event, quint32 nativeButton) override; bool wheelEvent(QWheelEvent *event) override; bool keyEvent(QKeyEvent *event) override; - bool touchDown(quint32 id, const QPointF &pos, quint32 time) override; - bool touchMotion(quint32 id, const QPointF &pos, quint32 time) override; - bool touchUp(quint32 id, quint32 time) override; + bool touchDown(qint32 id, const QPointF &pos, quint32 time) override; + bool touchMotion(qint32 id, const QPointF &pos, quint32 time) override; + bool touchUp(qint32 id, quint32 time) override; private: void toggleBacklight();