Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemco Burema <r.burema@ultimaker.com>2021-12-29 13:18:49 +0300
committerRemco Burema <r.burema@ultimaker.com>2021-12-29 13:18:49 +0300
commit20b435af76505c18d3ff693aef5b845fb7a0b79a (patch)
tree868cbb62a54cdb4da90c7bc76072af22547b1697 /cura_app.py
parent97da0b9183aa0f499d0738d968e680c82ed75135 (diff)
Qt5->Qt6: More renamed stuff.
part of CURA-8591
Diffstat (limited to 'cura_app.py')
-rwxr-xr-xcura_app.py6
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: