Call webenginequtescheme.init() in fixtures.testdata_scheme

This commit is contained in:
Florian Bruhin 2019-02-23 12:52:07 +01:00
parent 7c1ddb39d1
commit fa3612897b

View File

@ -171,6 +171,7 @@ def testdata_scheme(qapp):
global _qute_scheme_handler
from qutebrowser.browser.webengine import webenginequtescheme
from PyQt5.QtWebEngineWidgets import QWebEngineProfile
webenginequtescheme.init()
_qute_scheme_handler = webenginequtescheme.QuteSchemeHandler(
parent=qapp)
_qute_scheme_handler.install(QWebEngineProfile.defaultProfile())