Remove unused imports
This commit is contained in:
parent
0ff98f568c
commit
ae3b7c9f15
@ -46,14 +46,14 @@ from qutebrowser.browser import (urlmarks, browsertab, inspector, navigate,
|
||||
webelem)
|
||||
from qutebrowser.browser.webkit import downloads
|
||||
try:
|
||||
from qutebrowser.browser.webkit import webkitelem, mhtml
|
||||
from qutebrowser.browser.webkit import mhtml
|
||||
except ImportError:
|
||||
# Failing imports on QtWebEngine, only used in QtWebKit commands.
|
||||
# FIXME:qtwebengine don't import this anymore at all
|
||||
pass
|
||||
from qutebrowser.keyinput import modeman
|
||||
from qutebrowser.utils import (message, usertypes, log, qtutils, urlutils,
|
||||
objreg, utils, typing, javascript)
|
||||
objreg, utils, typing)
|
||||
from qutebrowser.utils.usertypes import KeyMode
|
||||
from qutebrowser.misc import editor, guiprocess
|
||||
from qutebrowser.completion.models import instances, sortfilter
|
||||
|
@ -30,7 +30,7 @@ from PyQt5.QtWebKitWidgets import QWebView, QWebPage, QWebFrame
|
||||
from qutebrowser.config import config
|
||||
from qutebrowser.keyinput import modeman
|
||||
from qutebrowser.utils import log, usertypes, utils, qtutils, objreg, debug
|
||||
from qutebrowser.browser.webkit import webpage, webkitelem
|
||||
from qutebrowser.browser.webkit import webpage
|
||||
|
||||
|
||||
class WebView(QWebView):
|
||||
|
Loading…
Reference in New Issue
Block a user