mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 09:16:38 -04:00
remove superfluous lambda arg
This commit is contained in:
parent
61654ff70a
commit
9958dd57a4
1 changed files with 1 additions and 1 deletions
|
@ -1158,7 +1158,7 @@ Please ensure a profile is open and Anki is not busy, then try again."""),
|
||||||
# ensure gc runs in main thread
|
# ensure gc runs in main thread
|
||||||
|
|
||||||
def setupDialogGC(self, obj):
|
def setupDialogGC(self, obj):
|
||||||
obj.finished.connect(lambda o=obj: self.gcWindow(obj))
|
obj.finished.connect(lambda: self.gcWindow(obj))
|
||||||
|
|
||||||
def gcWindow(self, obj):
|
def gcWindow(self, obj):
|
||||||
obj.deleteLater()
|
obj.deleteLater()
|
||||||
|
|
Loading…
Reference in a new issue