Add a stub for WebEnginePage.createWindow

See #1699.
This commit is contained in:
Florian Bruhin 2016-07-29 10:35:14 +02:00
parent cffe2281b1
commit 08a9786a73

View File

@ -77,3 +77,8 @@ class WebEnginePage(QWebEnginePage):
logstring = "[{}:{}] {}".format(source, line, msg)
logger = level_to_logger[level]
logger(logstring)
def createWindow(self, _typ):
"""Handle new windows via JS."""
log.stub()
return None