Compare commits
No commits in common. "2556287a76e02d2e752b8a80b4ef3eb7894230b5" and "d40073c927dfd32458529b12ffe9c60806f993d6" have entirely different histories.
2556287a76
...
d40073c927
1 changed files with 1 additions and 2 deletions
|
@ -36,8 +36,7 @@ except OSError as exception:
|
|||
html = html.replace("__IMG_PATH__", img)
|
||||
|
||||
web = QWebEngineView()
|
||||
url = QUrl.fromLocalFile(exe_dir + "/index.html")
|
||||
web.setHtml(html,url)
|
||||
web.setHtml(html,QUrl("file://" + exe_dir + "/"))
|
||||
web.setWindowTitle(img)
|
||||
web.showMaximized()
|
||||
web.show()
|
||||
|
|
Loading…
Reference in a new issue