This commit is contained in:
atse 2023-08-16 13:12:03 +08:00
parent aeecde09af
commit 68503d19e5

View File

@ -138,9 +138,6 @@ class ClientWatcher(QObject):
def start_watching(self):
self._watch_task = asyncio.create_task(self.run())
def is_watching(self):
return self._watch_task is not None
@pyqtSlot()
def stop_watching(self):
if self._watch_task is not None:
@ -161,7 +158,6 @@ class ClientWatcher(QObject):
async for report in self._client.report_mode():
self.report_update.emit(report)
@pyqtSlot(float)
def set_update_s(self, update_s):
self._update_s = update_s