PluginManager: removed some obsolete code. eric7

Thu, 27 May 2021 20:31:29 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 27 May 2021 20:31:29 +0200
branch
eric7
changeset 8385
a578b45eb13e
parent 8384
b5c064649b49
child 8386
41a27cbdb5c1

PluginManager: removed some obsolete code.

eric7/PluginManager/PluginManager.py file | annotate | diff | comparison | revisions
--- a/eric7/PluginManager/PluginManager.py	Thu May 27 17:44:08 2021 +0200
+++ b/eric7/PluginManager/PluginManager.py	Thu May 27 20:31:29 2021 +0200
@@ -163,9 +163,6 @@
             self.__networkManager.sslErrors.connect(self.__sslErrors)
         self.__replies = []
         
-        with contextlib.suppress(AttributeError):
-            self.__ui.onlineStateChanged.connect(self.__onlineStateChanged)
-    
     def finalizeSetup(self):
         """
         Public method to finalize the setup of the plugin manager.
@@ -1225,16 +1222,6 @@
     ## Methods for automatic plug-in update check below
     ########################################################################
     
-    def __onlineStateChanged(self, online):
-        """
-        Private slot handling changes in online state.
-        
-        @param online flag indicating the online state
-        @type bool
-        """
-        if online:
-            self.checkPluginUpdatesAvailable()
-    
     def checkPluginUpdatesAvailable(self):
         """
         Public method to check the availability of updates of plug-ins.

eric ide

mercurial