diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-29 10:09:33 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-29 13:21:52 +0200 |
commit | df43156bb35a442c4988631e1c2b0bd0fc11e618 (patch) | |
tree | 77e6c531967013e5628f04e48ba035197b8a737c /examples/installer_test | |
parent | 130e79e4658d2438f66ab8aeb5e186349e3cb740 (diff) |
Examples: Fix some space-related flake warnings
Task-number: PYSIDE-1112
Change-Id: Ib8991199e4822673d6a25cba0023dbe3b03f5938
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/installer_test')
-rw-r--r-- | examples/installer_test/hello.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/installer_test/hello.py b/examples/installer_test/hello.py index 318512458..fc44277bf 100644 --- a/examples/installer_test/hello.py +++ b/examples/installer_test/hello.py @@ -89,6 +89,7 @@ class MyWidget(QWidget): def magic(self): self.text.setText(random.choice(self.hello)) + if __name__ == "__main__": print("Start of hello.py ", time.ctime()) print(" sys.version = {}".format(sys.version.splitlines()[0])) @@ -100,7 +101,7 @@ if __name__ == "__main__": widget.resize(800, 600) widget.show() if auto_quit: - milliseconds = 2 * 1000 # run 2 second + milliseconds = 2 * 1000 # run 2 second QTimer.singleShot(milliseconds, app.quit) retcode = app.exec_() print("End of hello.py ", time.ctime()) |