Commits

Yuya Nishihara committed 665cd95

rename: remove unnecessary deleteLater hack

RenameDialog has no reference cycle.

  • Participants
  • Parent commits fe7226e

Comments (0)

Files changed (1)

File tortoisehg/hgqt/wctxactions.py

     assert len(files) == 1
     dlg = RenameDialog(repoagent, parent, hglib.tounicode(files[0]),
                        iscopy=True)
-    dlg.finished.connect(dlg.deleteLater)
     dlg.exec_()
     return True
 
     from tortoisehg.hgqt.rename import RenameDialog
     assert len(files) == 1
     dlg = RenameDialog(repoagent, parent, hglib.tounicode(files[0]))
-    dlg.finished.connect(dlg.deleteLater)
     dlg.exec_()
     return True