diff --git a/src/calibre/gui2/widgets.py b/src/calibre/gui2/widgets.py index e3242feec5..476494742b 100644 --- a/src/calibre/gui2/widgets.py +++ b/src/calibre/gui2/widgets.py @@ -722,8 +722,8 @@ class HistoryLineEdit(QComboBox): # {{{ lost_focus = pyqtSignal() - def __init__(self, *args): - QComboBox.__init__(self, *args) + def __init__(self, parent=None): + QComboBox.__init__(self, parent) self.setEditable(True) self.setInsertPolicy(QComboBox.InsertPolicy.NoInsert) self.setMaxCount(10)