forked from openlp/openlp
When the maindisplay has a parent, the Phonon video only shows a white screen. Remove the parent and the video works again. This also means minimizing the mainwindow (or pressing Win+D) no longer minimizes the maindisplay.
bzr-revno: 1651
This commit is contained in:
commit
6be7a1e06e
@ -49,6 +49,9 @@ class MainDisplay(QtGui.QGraphicsView):
|
|||||||
This is the display screen.
|
This is the display screen.
|
||||||
"""
|
"""
|
||||||
def __init__(self, parent, image_manager, live):
|
def __init__(self, parent, image_manager, live):
|
||||||
|
if live:
|
||||||
|
QtGui.QGraphicsView.__init__(self)
|
||||||
|
else:
|
||||||
QtGui.QGraphicsView.__init__(self, parent)
|
QtGui.QGraphicsView.__init__(self, parent)
|
||||||
self.isLive = live
|
self.isLive = live
|
||||||
self.image_manager = image_manager
|
self.image_manager = image_manager
|
||||||
|
Loading…
Reference in New Issue
Block a user