mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Get rid of pointless guard against Qt < 4.7
This commit is contained in:
parent
4937ecf44d
commit
e6b883e212
@ -109,11 +109,7 @@ class SearchBox2(QComboBox): # {{{
|
||||
if item not in items:
|
||||
items.append(item)
|
||||
self.addItems(items)
|
||||
try:
|
||||
self.line_edit.setPlaceholderText(help_text)
|
||||
except:
|
||||
# Using Qt < 4.7
|
||||
pass
|
||||
self.line_edit.setPlaceholderText(help_text)
|
||||
self.colorize = colorize
|
||||
self.clear()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user