Commits

Yuya Nishihara committed e3240e4

update: remove unnecessary deleteLater hack (refs #1420)

UpdateDialog has no long-lived reference cycle.

Comments (0)

Files changed (2)

tortoisehg/hgqt/pbranch.py

         dlg.output.connect(self.output)
         dlg.makeLogVisible.connect(self.makeLogVisible)
         dlg.progress.connect(self.progress)
-        dlg.finished.connect(dlg.deleteLater)
         dlg.exec_()
 
     def merge_activated(self):

tortoisehg/hgqt/repowidget.py

         dlg.output.connect(self.output)
         dlg.makeLogVisible.connect(self.makeLogVisible)
         dlg.progress.connect(self.progress)
-        dlg.finished.connect(dlg.deleteLater)
         dlg.exec_()
 
     def matchRevision(self):
         dlg.output.connect(self.output)
         dlg.makeLogVisible.connect(self.makeLogVisible)
         dlg.progress.connect(self.progress)
-        dlg.finished.connect(dlg.deleteLater)
         dlg.exec_()
 
     @pyqtSlot()