forked from openlp/openlp
changed constructor
This commit is contained in:
parent
e8e003d6f8
commit
542cdd78cb
@ -82,7 +82,7 @@ class MediaManagerItem(QtGui.QWidget):
|
||||
"""
|
||||
Constructor to create the media manager item.
|
||||
"""
|
||||
QtGui.QWidget.__init__(self)
|
||||
super(MediaManagerItem, self).__init__()
|
||||
self.hide()
|
||||
self.whitespace = re.compile(r'[\W_]+', re.UNICODE)
|
||||
self.plugin = plugin
|
||||
|
@ -46,7 +46,7 @@ class SearchEdit(QtGui.QLineEdit):
|
||||
"""
|
||||
Constructor.
|
||||
"""
|
||||
QtGui.QLineEdit.__init__(self, parent)
|
||||
super(SearchEdit, self).__init__(parent)
|
||||
self._current_search_type = -1
|
||||
self.clear_button = QtGui.QToolButton(self)
|
||||
self.clear_button.setIcon(build_icon(u':/system/clear_shortcut.png'))
|
||||
|
Loading…
Reference in New Issue
Block a user