Revert "fix some memory leaks"
This reverts commit b9ba2375a1
.
testing assumption that this is causing the windows crashes
This commit is contained in:
parent
3796048911
commit
b562b8c6dc
@ -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
|
||||
|
@ -466,7 +466,6 @@ class Browser(QMainWindow):
|
||||
self.teardownHooks()
|
||||
self.mw.maybeReset()
|
||||
evt.accept()
|
||||
self.deleteLater()
|
||||
|
||||
def canClose(self):
|
||||
return True
|
||||
|
@ -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
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user