Added some missing deleteLater() calls. 6_1_x

Sun, 27 Dec 2015 13:26:12 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 27 Dec 2015 13:26:12 +0100
branch
6_1_x
changeset 4628
ce2ea583de98
parent 4623
f61df97c10ac
child 4633
4e6f5de766ff

Added some missing deleteLater() calls.
(grafted from c891c7ad6b6011075a609970883967e7d37f186b)

PluginManager/PluginManager.py file | annotate | diff | comparison | revisions
PluginManager/PluginRepositoryDialog.py file | annotate | diff | comparison | revisions
--- a/PluginManager/PluginManager.py	Fri Dec 25 17:04:54 2015 +0100
+++ b/PluginManager/PluginManager.py	Sun Dec 27 13:26:12 2015 +0100
@@ -1148,6 +1148,7 @@
                 ).format(Preferences.getUI("PluginRepositoryUrl6"),
                          reply.errorString())
             )
+            reply.deleteLater()
             return
         
         ioDevice = QFile(self.pluginRepositoryFile + ".tmp")
@@ -1157,6 +1158,7 @@
         if QFile.exists(self.pluginRepositoryFile):
             QFile.remove(self.pluginRepositoryFile)
         ioDevice.rename(self.pluginRepositoryFile)
+        reply.deleteLater()
         
         if os.path.exists(self.pluginRepositoryFile):
             f = QFile(self.pluginRepositoryFile)
--- a/PluginManager/PluginRepositoryDialog.py	Fri Dec 25 17:04:54 2015 +0100
+++ b/PluginManager/PluginRepositoryDialog.py	Sun Dec 27 13:26:12 2015 +0100
@@ -453,6 +453,7 @@
                         len(self.__selectedItems()))
                     self.__downloadInstallButton.setEnabled(
                         len(self.__selectedItems()))
+            reply.deleteLater()
             return
         
         self.__downloadIODevice.open(QIODevice.WriteOnly)
@@ -463,6 +464,7 @@
         self.__downloadIODevice.rename(self.__downloadFileName)
         self.__downloadIODevice = None
         self.__downloadURL = None
+        reply.deleteLater()
         
         if self.__doneMethod is not None:
             self.__doneMethod(ok, self.__downloadFileName)

eric ide

mercurial