From 5b2ae3cec7fbd95a0af2c53e0df49ea2fe2fdc51 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 10 Aug 2016 14:55:50 +0200 Subject: [PATCH] Don't inherit AbstractWebInspector from QtWebKit --- qutebrowser/browser/inspector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/browser/inspector.py b/qutebrowser/browser/inspector.py index ed2e4ecd1..00225d091 100644 --- a/qutebrowser/browser/inspector.py +++ b/qutebrowser/browser/inspector.py @@ -22,7 +22,7 @@ import base64 import binascii -from PyQt5.QtWebKitWidgets import QWebInspector +from PyQt5.QtWidgets import QWidget from qutebrowser.utils import log, objreg from qutebrowser.misc import miscwidgets @@ -52,7 +52,7 @@ class WebInspectorError(Exception): pass -class AbstractWebInspector(QWebInspector): +class AbstractWebInspector(QWidget): """A customized WebInspector which stores its geometry."""