minimal_webkit_testbrowser: Use QUrl.fromUserInput.
This commit is contained in:
parent
0bdcf2910a
commit
0be2192eab
@ -39,6 +39,6 @@ if __name__ == '__main__':
|
|||||||
args = parse_args()
|
args = parse_args()
|
||||||
app = QApplication(sys.argv)
|
app = QApplication(sys.argv)
|
||||||
wv = QWebView()
|
wv = QWebView()
|
||||||
wv.load(QUrl(args.url))
|
wv.load(QUrl.fromUserInput(args.url))
|
||||||
wv.show()
|
wv.show()
|
||||||
app.exec_()
|
app.exec_()
|
||||||
|
Loading…
Reference in New Issue
Block a user