Load unknown about:... pages with QWebView.
This commit is contained in:
parent
8a81a61c2d
commit
acd7a0a070
@ -435,12 +435,10 @@ class BrowserTab(QWebView):
|
||||
try:
|
||||
content = about.handle(qurl.toString())
|
||||
except AttributeError:
|
||||
# FIXME progress bar should be visible and red...
|
||||
self.loadFinished.emit(False)
|
||||
return self.load(qurl)
|
||||
else:
|
||||
self.setUrl(qurl)
|
||||
self.setContent(content, 'text/html')
|
||||
return
|
||||
else:
|
||||
return self.load(qurl)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user