Sun, 27 Dec 2015 13:26:12 +0100
Added some missing deleteLater() calls.
PluginManager/PluginManager.py | file | annotate | diff | comparison | revisions | |
PluginManager/PluginRepositoryDialog.py | file | annotate | diff | comparison | revisions |
--- a/PluginManager/PluginManager.py Sun Dec 27 13:14:00 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 Sun Dec 27 13:14:00 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)