[platforms/drm] accept both keypress and keyrelease event in filter

We don't want to pass out either of key press or release event to other
filters.
This commit is contained in:
Bhushan Shah 2021-02-22 21:49:39 +05:30
parent 58bee8e38a
commit ae8e69b4bb

View file

@ -45,9 +45,8 @@ bool DpmsInputEventFilter::keyEvent(QKeyEvent *event)
{
if (event->type() == QKeyEvent::KeyPress) {
notify();
return true;
}
return false;
return true;
}
bool DpmsInputEventFilter::touchDown(qint32 id, const QPointF &pos, quint32 time)