[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:
parent
58bee8e38a
commit
ae8e69b4bb
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue