summaryrefslogtreecommitdiff
path: root/qutebrowser/browser/inspector.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/browser/inspector.py')
-rw-r--r--qutebrowser/browser/inspector.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qutebrowser/browser/inspector.py b/qutebrowser/browser/inspector.py
index 33a30d2ac..8fb35fbb3 100644
--- a/qutebrowser/browser/inspector.py
+++ b/qutebrowser/browser/inspector.py
@@ -70,7 +70,7 @@ class _EventFilter(QObject):
def eventFilter(self, _obj: QObject, event: QEvent) -> bool:
"""Translate mouse presses to a clicked signal."""
- if event.type() == QEvent.MouseButtonPress:
+ if event.type() == QEvent.Type.MouseButtonPress:
self.clicked.emit()
return False