This commit is contained in:
Kovid Goyal 2010-07-20 13:28:46 -06:00
commit 39797be6fe

View File

@ -84,7 +84,7 @@ class SearchBox2(QComboBox):
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)