Fix lint
This commit is contained in:
parent
08d9243c3e
commit
b801d3316d
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
|
|
||||||
from qutebrowser.config import config
|
from qutebrowser.config import config
|
||||||
from qutebrowser.utils import message, debug, log
|
from qutebrowser.utils import message, log
|
||||||
|
|
||||||
|
|
||||||
from PyQt5.QtCore import QObject, QEvent, Qt
|
from PyQt5.QtCore import QObject, QEvent, Qt
|
||||||
@ -44,6 +44,7 @@ class ChildEventFilter(QObject):
|
|||||||
self._widget = widget
|
self._widget = widget
|
||||||
|
|
||||||
def eventFilter(self, obj, event):
|
def eventFilter(self, obj, event):
|
||||||
|
"""Act on ChildAdded events."""
|
||||||
if event.type() == QEvent.ChildAdded:
|
if event.type() == QEvent.ChildAdded:
|
||||||
child = event.child()
|
child = event.child()
|
||||||
log.mouse.debug("{} got new child {}, installing filter".format(
|
log.mouse.debug("{} got new child {}, installing filter".format(
|
||||||
|
Loading…
Reference in New Issue
Block a user