Fix for webengine too
This commit is contained in:
parent
56ee7d63b3
commit
0eab91ac4c
@ -560,6 +560,7 @@ class AbstractTab(QWidget):
|
|||||||
self._mouse_event_filter = mouse.MouseEventFilter(
|
self._mouse_event_filter = mouse.MouseEventFilter(
|
||||||
self, widget_class=self.WIDGET_CLASS, parent=self)
|
self, widget_class=self.WIDGET_CLASS, parent=self)
|
||||||
self.backend = None
|
self.backend = None
|
||||||
|
self.needs_qtbug54419_workaround = False
|
||||||
|
|
||||||
# FIXME:qtwebengine Should this be public api via self.hints?
|
# FIXME:qtwebengine Should this be public api via self.hints?
|
||||||
# Also, should we get it out of objreg?
|
# Also, should we get it out of objreg?
|
||||||
|
@ -607,7 +607,6 @@ class WebKitTab(browsertab.AbstractTab):
|
|||||||
self._connect_signals()
|
self._connect_signals()
|
||||||
self.zoom.set_default()
|
self.zoom.set_default()
|
||||||
self.backend = usertypes.Backend.QtWebKit
|
self.backend = usertypes.Backend.QtWebKit
|
||||||
self.needs_qtbug54419_workaround = False
|
|
||||||
|
|
||||||
def _install_event_filter(self):
|
def _install_event_filter(self):
|
||||||
self._widget.installEventFilter(self._mouse_event_filter)
|
self._widget.installEventFilter(self._mouse_event_filter)
|
||||||
|
Loading…
Reference in New Issue
Block a user