mirror of
https://github.com/pyqt/examples.git
synced 2025-08-29 12:57:41 +00:00
Fix bug with spaces in file name
This commit is contained in:
parent
4136d26d37
commit
06f04f1b2e
@ -73,7 +73,7 @@ def show_about_dialog():
|
|||||||
text = "<center>" \
|
text = "<center>" \
|
||||||
"<h1>Text Editor</h1>" \
|
"<h1>Text Editor</h1>" \
|
||||||
"⁣" \
|
"⁣" \
|
||||||
"<img src=%r>" \
|
"<img src=\"%s\">" \
|
||||||
"</center>" \
|
"</center>" \
|
||||||
"<p>Version 31.4.159.265358<br/>" \
|
"<p>Version 31.4.159.265358<br/>" \
|
||||||
"Copyright © Company Inc.</p>" \
|
"Copyright © Company Inc.</p>" \
|
||||||
@ -86,4 +86,4 @@ about_action.triggered.connect(show_about_dialog)
|
|||||||
window.show()
|
window.show()
|
||||||
|
|
||||||
exit_code = appctxt.app.exec_() # 2. Invoke appctxt.app.exec_()
|
exit_code = appctxt.app.exec_() # 2. Invoke appctxt.app.exec_()
|
||||||
sys.exit(exit_code)
|
sys.exit(exit_code)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user