Live dangerously, and pass parent None to MainDisplay

This commit is contained in:
Jonathan Corwin 2011-05-28 21:12:32 +01:00
parent 147c41e16f
commit ddf11d4681
1 changed files with 1 additions and 3 deletions

View File

@ -49,9 +49,7 @@ class MainDisplay(QtGui.QGraphicsView):
This is the display screen.
"""
def __init__(self, parent, image_manager, live):
QtGui.QGraphicsView.__init__(self)
if parent:
self.setParent(parent)
QtGui.QGraphicsView.__init__(self, parent)
self.isLive = live
self.image_manager = image_manager
self.screens = ScreenList.get_instance()