We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd7386a commit baa5266Copy full SHA for baa5266
src/autolockeventfilter.h
@@ -39,7 +39,18 @@ public slots:
39
40
protected:
41
bool eventFilter(QObject *obj, QEvent *ev) {
42
- if (ev->type() == QEvent::KeyPress || ev->type() == QEvent::MouseMove) {
+ if (ev->type() == QEvent::KeyPress
43
+ || ev->type() == QEvent::MouseMove
44
+ || ev->type() == QEvent::Wheel
45
+ || ev->type() == QEvent::TouchUpdate
46
+ || ev->type() == QEvent::MouseButtonRelease
47
+ || ev->type() == QEvent::MouseButtonPress
48
+ || ev->type() == QEvent::MouseButtonDblClick
49
+ || ev->type() == QEvent::Gesture
50
+ || ev->type() == QEvent::FocusIn
51
+ || ev->type() == QEvent::FocusOut
52
+ || ev->type() == QEvent::Enter
53
+ ) {
54
resetTimer();
55
}
56
return QObject::eventFilter(obj, ev);
0 commit comments