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)
|
html = html.replace("__IMG_PATH__", img)
|
||||||
|
|
||||||
web = QWebEngineView()
|
web = QWebEngineView()
|
||||||
url = QUrl.fromLocalFile(exe_dir + "/index.html")
|
web.setHtml(html,QUrl("file://" + exe_dir + "/"))
|
||||||
web.setHtml(html,url)
|
|
||||||
web.setWindowTitle(img)
|
web.setWindowTitle(img)
|
||||||
web.showMaximized()
|
web.showMaximized()
|
||||||
web.show()
|
web.show()
|
||||||
|
|
Loading…
Reference in a new issue