Call webenginequtescheme.init() in fixtures.testdata_scheme
This commit is contained in:
parent
7c1ddb39d1
commit
fa3612897b
@ -171,6 +171,7 @@ def testdata_scheme(qapp):
|
|||||||
global _qute_scheme_handler
|
global _qute_scheme_handler
|
||||||
from qutebrowser.browser.webengine import webenginequtescheme
|
from qutebrowser.browser.webengine import webenginequtescheme
|
||||||
from PyQt5.QtWebEngineWidgets import QWebEngineProfile
|
from PyQt5.QtWebEngineWidgets import QWebEngineProfile
|
||||||
|
webenginequtescheme.init()
|
||||||
_qute_scheme_handler = webenginequtescheme.QuteSchemeHandler(
|
_qute_scheme_handler = webenginequtescheme.QuteSchemeHandler(
|
||||||
parent=qapp)
|
parent=qapp)
|
||||||
_qute_scheme_handler.install(QWebEngineProfile.defaultProfile())
|
_qute_scheme_handler.install(QWebEngineProfile.defaultProfile())
|
||||||
|
Loading…
Reference in New Issue
Block a user