Fix the build error in hwcomposer backend

This fixes build error introduced by commit 12886cf442
This commit is contained in:
Bhushan Shah 2019-08-17 16:24:09 +05:30
parent 080cdd4931
commit 2bf2a04f86
2 changed files with 6 additions and 6 deletions

View file

@ -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)

View file

@ -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();