Fix parentage bug

Fixes: https://launchpad.net/bugs/794380
This commit is contained in:
Tim Bentley 2011-06-11 08:04:21 +01:00
parent 6b73c842cb
commit 7ba44af92a
2 changed files with 5 additions and 5 deletions

View File

@ -90,7 +90,7 @@ class MediaManagerItem(QtGui.QWidget):
""" """
Constructor to create the media manager item. Constructor to create the media manager item.
""" """
QtGui.QWidget.__init__(self, parent) QtGui.QWidget.__init__(self)
self.hide() self.hide()
self.whitespace = re.compile(r'[\W_]+', re.UNICODE) self.whitespace = re.compile(r'[\W_]+', re.UNICODE)
self.plugin = plugin self.plugin = plugin