diff --git a/cura/API/Account.py b/cura/API/Account.py index 9b123c2838..e9d4a52c08 100644 --- a/cura/API/Account.py +++ b/cura/API/Account.py @@ -6,7 +6,6 @@ from typing import Optional, Dict, TYPE_CHECKING from PyQt5.QtCore import QObject, pyqtSignal, pyqtSlot, pyqtProperty -from UM.Logger import Logger from UM.Message import Message from UM.i18n import i18nCatalog from cura.OAuth2.AuthorizationService import AuthorizationService @@ -31,7 +30,7 @@ i18n_catalog = i18nCatalog("cura") class Account(QObject): class SyncState(Enum): - """Caution: values used in qml (eg. UserOperations.qml)""" + """Caution: values used in qml (eg. SyncState.qml)""" SYNCING = "syncing", SUCCESS = "success", @@ -177,10 +176,6 @@ class Account(QObject): def lastSyncDateTime(self) -> str: return self._last_sync_str - @pyqtProperty(str, notify=syncStateChanged) - def syncState(self) -> str: - return self._sync_state - @pyqtSlot() def sync(self) -> None: """Checks for new cloud printers"""