changeset 366:58e395c0777e

core: don't call onBackendReady explicitly anymore now that it is handle in QuickApp
author Goffi <goffi@goffi.org>
date Mon, 27 Jan 2020 21:17:08 +0100
parents 9c6fe392d623
children abb57182ebfb
files cagou/core/cagou_main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Mon Jan 27 21:17:08 2020 +0100
+++ b/cagou/core/cagou_main.py	Mon Jan 27 21:17:08 2020 +0100
@@ -479,7 +479,6 @@
     def onBridgeConnected(self):
         super(Cagou, self).onBridgeConnected()
         self.registerSignal("otrState", iface="plugin")
-        self.bridge.getReady(self.onBackendReady)
 
     def _bridgeEb(self, failure):
         if bridge_name == "pb" and sys.platform == "android":
@@ -512,6 +511,7 @@
         self.backend_version = version
 
     def onBackendReady(self):
+        super().onBackendReady()
         self.app.showWidget()
         self.bridge.getVersion(callback=self._getVersionCb)
         self.app.initFrontendState()