From 124854254ec5654eb0f94797eb3921dbcf4ed92a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 22 Apr 2023 18:13:14 +0530 Subject: [PATCH] ... --- src/calibre/gui2/widgets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)