2
0
mirror of https://github.com/pyqt/examples.git synced 2025-08-28 20:37:39 +00:00

Fix bug with spaces in file name

This commit is contained in:
Michael Herrmann 2021-04-08 14:00:40 +02:00 committed by GitHub
parent 4136d26d37
commit 06f04f1b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ def show_about_dialog():
text = "<center>" \
"<h1>Text Editor</h1>" \
"&#8291;" \
"<img src=%r>" \
"<img src=\"%s\">" \
"</center>" \
"<p>Version 31.4.159.265358<br/>" \
"Copyright &copy; Company Inc.</p>" \
@ -86,4 +86,4 @@ about_action.triggered.connect(show_about_dialog)
window.show()
exit_code = appctxt.app.exec_() # 2. Invoke appctxt.app.exec_()
sys.exit(exit_code)
sys.exit(exit_code)