mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 18:13:04 +02:00
Make the timer connection queued
This commit is contained in:
parent
90a89ca7a6
commit
72404b607b
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ def __init__(self, parent=None):
|
|||
self.prev_search = ''
|
||||
self.timer = QTimer()
|
||||
self.timer.setSingleShot(True)
|
||||
self.timer.timeout.connect(self.timer_event)
|
||||
self.timer.timeout.connect(self.timer_event, Qt.QueuedConnection)
|
||||
self.setInsertPolicy(self.NoInsert)
|
||||
self.setMaxCount(self.MAX_COUNT)
|
||||
self.setSizeAdjustPolicy(self.AdjustToMinimumContentsLengthWithIcon)
|
||||
|
|
|
|||
Loading…
Reference in a new issue