Revert "fix some memory leaks"

This reverts commit b9ba2375a1.

testing assumption that this is causing the windows crashes
This commit is contained in:
Damien Elmes 2014-03-27 13:58:30 +09:00
parent 3796048911
commit b562b8c6dc
4 changed files with 0 additions and 4 deletions

View File

@ -190,7 +190,6 @@ question on all cards."""), help="AddItems")
saveGeom(self, "add")
aqt.dialogs.close("AddCards")
QDialog.reject(self)
self.deleteLater()
def canClose(self):
if (self.forceClose or self.editor.fieldsAreBlank() or

View File

@ -466,7 +466,6 @@ class Browser(QMainWindow):
self.teardownHooks()
self.mw.maybeReset()
evt.accept()
self.deleteLater()
def canClose(self):
return True

View File

@ -64,7 +64,6 @@ class EditCurrent(QDialog):
self.mw.moveToState("review")
saveGeom(self, "editcurrent")
aqt.dialogs.close("EditCurrent")
self.deleteLater()
def canClose(self):
return True

View File

@ -45,7 +45,6 @@ class DeckStats(QDialog):
def reject(self):
saveGeom(self, self.name)
QDialog.reject(self)
self.deleteLater()
def browser(self):
name = time.strftime("-%Y-%m-%d@%H-%M-%S.png",