diff cagou/core/cagou_main.py @ 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 816a0c880f52
children 1a12bbd80943
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()