mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix incorrect qt constructor call
This commit is contained in:
parent
ef23268573
commit
7755eb408c
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ def askUser(text, parent=None, help="", defaultno=False, msgfunc=None, \
|
||||||
class ButtonedDialog(QMessageBox):
|
class ButtonedDialog(QMessageBox):
|
||||||
|
|
||||||
def __init__(self, text, buttons, parent=None, help="", title="Anki"):
|
def __init__(self, text, buttons, parent=None, help="", title="Anki"):
|
||||||
QDialog.__init__(self, parent)
|
QMessageBox.__init__(self, parent)
|
||||||
self.buttons = []
|
self.buttons = []
|
||||||
self.setWindowTitle(title)
|
self.setWindowTitle(title)
|
||||||
self.help = help
|
self.help = help
|
||||||
|
|
Loading…
Reference in a new issue