diff options
author | Remco Burema <r.burema@ultimaker.com> | 2021-12-29 13:18:49 +0300 |
---|---|---|
committer | Remco Burema <r.burema@ultimaker.com> | 2021-12-29 13:18:49 +0300 |
commit | 20b435af76505c18d3ff693aef5b845fb7a0b79a (patch) | |
tree | 868cbb62a54cdb4da90c7bc76072af22547b1697 /cura_app.py | |
parent | 97da0b9183aa0f499d0738d968e680c82ed75135 (diff) |
Qt5->Qt6: More renamed stuff.
part of CURA-8591
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cura_app.py b/cura_app.py index 2374197b59..da8b3bc18d 100755 --- a/cura_app.py +++ b/cura_app.py @@ -148,10 +148,10 @@ def exceptHook(hook_type, value, traceback): # The flag "CuraApplication.Created" is set to True when CuraApplication finishes its constructor call. # # Before the "started" flag is set to True, the Qt event loop has not started yet. The event loop is a blocking - # call to the QApplication.exec_(). In this case, we need to: + # call to the QApplication.exec(). In this case, we need to: # 1. Remove all scheduled events so no more unnecessary events will be processed, such as loading the main dialog, # loading the machine, etc. - # 2. Start the Qt event loop with exec_() and show the Crash Dialog. + # 2. Start the Qt event loop with exec() and show the Crash Dialog. # # If the application has finished its initialization and was running fine, and then something causes a crash, # we run the old routine to show the Crash Dialog. @@ -164,7 +164,7 @@ def exceptHook(hook_type, value, traceback): if not has_started: CuraApplication.getInstance().removePostedEvents(None) _crash_handler.early_crash_dialog.show() - sys.exit(CuraApplication.getInstance().exec_()) + sys.exit(CuraApplication.getInstance().exec()) else: _crash_handler.show() else: |