changed constructor

This commit is contained in:
Andreas Preikschat 2013-07-18 13:19:20 +02:00
parent e8e003d6f8
commit 542cdd78cb
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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'))