Fix for webengine too

This commit is contained in:
thuck 2016-11-13 11:56:21 +01:00
parent 56ee7d63b3
commit 0eab91ac4c
2 changed files with 1 additions and 1 deletions

View File

@ -560,6 +560,7 @@ class AbstractTab(QWidget):
self._mouse_event_filter = mouse.MouseEventFilter(
self, widget_class=self.WIDGET_CLASS, parent=self)
self.backend = None
self.needs_qtbug54419_workaround = False
# FIXME:qtwebengine Should this be public api via self.hints?
# Also, should we get it out of objreg?

View File

@ -607,7 +607,6 @@ class WebKitTab(browsertab.AbstractTab):
self._connect_signals()
self.zoom.set_default()
self.backend = usertypes.Backend.QtWebKit
self.needs_qtbug54419_workaround = False
def _install_event_filter(self):
self._widget.installEventFilter(self._mouse_event_filter)