mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Pass variable args to back compat method exec_()
This commit is contained in:
parent
7ce022f5e1
commit
acddfcfeb9
@ -33,8 +33,8 @@ QHoverEvent.posF = lambda self: self.position()
|
||||
|
||||
# Restore the removed exec_ method
|
||||
|
||||
def exec_(self):
|
||||
return self.exec()
|
||||
def exec_(self, *args, **kwargs):
|
||||
return self.exec(*args, **kwargs)
|
||||
|
||||
|
||||
QDialog.exec_ = exec_
|
||||
|
Loading…
x
Reference in New Issue
Block a user