mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Add TODO
This commit is contained in:
parent
14808c5de1
commit
6d9b6668e2
2 changed files with 5 additions and 3 deletions
|
@ -47,6 +47,7 @@ class CloudOutputDeviceManager:
|
|||
self._update_timer.setInterval(int(self.CHECK_CLUSTER_INTERVAL * 1000))
|
||||
self._update_timer.setSingleShot(False)
|
||||
|
||||
# Ensure we don't start twice.
|
||||
self._running = False
|
||||
|
||||
## Starts running the cloud output device manager, thus periodically requesting cloud data.
|
||||
|
@ -55,7 +56,7 @@ class CloudOutputDeviceManager:
|
|||
return
|
||||
self._account.loginStateChanged.connect(self._onLoginStateChanged)
|
||||
self._update_timer.timeout.connect(self._getRemoteClusters)
|
||||
self._onLoginStateChanged(is_logged_in = self._account.isLoggedIn)
|
||||
self._onLoginStateChanged(is_logged_in=self._account.isLoggedIn)
|
||||
|
||||
## Stops running the cloud output device manager.
|
||||
def stop(self):
|
||||
|
@ -63,7 +64,7 @@ class CloudOutputDeviceManager:
|
|||
return
|
||||
self._account.loginStateChanged.disconnect(self._onLoginStateChanged)
|
||||
self._update_timer.timeout.disconnect(self._getRemoteClusters)
|
||||
self._onLoginStateChanged(is_logged_in = False)
|
||||
self._onLoginStateChanged(is_logged_in=False)
|
||||
|
||||
## Force refreshing connections.
|
||||
def refreshConnections(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue