parent
cffe2281b1
commit
08a9786a73
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user