diff options
author | Remco Burema <r.burema@ultimaker.com> | 2021-12-28 20:12:36 +0300 |
---|---|---|
committer | Remco Burema <r.burema@ultimaker.com> | 2021-12-28 20:12:36 +0300 |
commit | b62e708b8779c6817861dadbec7e803a69e33e7d (patch) | |
tree | 08a0bdf4a5eba7ee6418e2c8067422df55dd631e /cura_app.py | |
parent | 7021ff0b6777dd25f60f4a16280cc40a4a1086a7 (diff) |
Qt5->Qt6: (Until) attempted fix Python 3.10 'stack overflow' issue.
part of CURA-8591
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cura_app.py b/cura_app.py index 001e71775e..4b689fdadb 100755 --- a/cura_app.py +++ b/cura_app.py @@ -156,7 +156,7 @@ def exceptHook(hook_type, value, traceback): # 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. # - from PyQt6.Qt import QApplication + from PyQt6.QtWidgets import QApplication if CuraApplication.Created: _crash_handler = CrashHandler(hook_type, value, traceback, has_started) if CuraApplication.splash is not None: @@ -228,7 +228,7 @@ if Platform.isLinux(): if ApplicationMetadata.CuraDebugMode: ssl_conf = QSslConfiguration.defaultConfiguration() - ssl_conf.setPeerVerifyMode(QSslSocket.VerifyNone) + ssl_conf.setPeerVerifyMode(QSslSocket.PeerVerifyMode.VerifyNone) QSslConfiguration.setDefaultConfiguration(ssl_conf) app = CuraApplication() |