mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Update set deamon logic
`setDaemon(True)` has been deprecated CURA-8640
This commit is contained in:
parent
3c9e2a1b08
commit
337e2aa4bb
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ class RemovableDrivePlugin(OutputDevicePlugin):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
self._update_thread = threading.Thread(target = self._updateThread)
|
self._update_thread = threading.Thread(target = self._updateThread)
|
||||||
self._update_thread.setDaemon(True)
|
self._update_thread.deamon = True
|
||||||
|
|
||||||
self._check_updates = True
|
self._check_updates = True
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ class USBPrinterOutputDeviceManager(QObject, OutputDevicePlugin):
|
||||||
self._usb_output_devices = {}
|
self._usb_output_devices = {}
|
||||||
self._usb_output_devices_model = None
|
self._usb_output_devices_model = None
|
||||||
self._update_thread = threading.Thread(target = self._updateThread)
|
self._update_thread = threading.Thread(target = self._updateThread)
|
||||||
self._update_thread.setDaemon(True)
|
self._update_thread.daemon = True
|
||||||
|
|
||||||
self._check_updates = True
|
self._check_updates = True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue