forked from openlp/openlp
code style
This commit is contained in:
parent
d4780cb37b
commit
1031125932
@ -245,7 +245,7 @@ class MainDisplay(DisplayWidget):
|
|||||||
self.screens, self.screens.monitor_number))
|
self.screens, self.screens.monitor_number))
|
||||||
self.setVisible(False)
|
self.setVisible(False)
|
||||||
self.screen = self.screens.current
|
self.screen = self.screens.current
|
||||||
# Sort out screen locations and sizes
|
# Sort out screen locations and sizes.
|
||||||
self.setGeometry(self.screen[u'size'])
|
self.setGeometry(self.screen[u'size'])
|
||||||
self.scene.setSceneRect(0, 0, self.size().width(), self.size().height())
|
self.scene.setSceneRect(0, 0, self.size().width(), self.size().height())
|
||||||
self.webView.setGeometry(0, 0, self.size().width(),
|
self.webView.setGeometry(0, 0, self.size().width(),
|
||||||
@ -546,10 +546,10 @@ class VideoDisplay(Phonon.VideoWidget):
|
|||||||
# if it is triggered from the plugin
|
# if it is triggered from the plugin
|
||||||
# """
|
# """
|
||||||
# log.debug(u'VideoDisplay Queue new media message %s' % message)
|
# log.debug(u'VideoDisplay Queue new media message %s' % message)
|
||||||
# #If not file take the stored one
|
# # If not file take the stored one.
|
||||||
# if not message:
|
# if not message:
|
||||||
# message = self.message
|
# message = self.message
|
||||||
# # still no file name then stop as it was a normal video stopping
|
# # Still no file name then stop as it was a normal video stopping.
|
||||||
# if message:
|
# if message:
|
||||||
# self.mediaObject.setCurrentSource(Phonon.MediaSource(message))
|
# self.mediaObject.setCurrentSource(Phonon.MediaSource(message))
|
||||||
# self.message = message
|
# self.message = message
|
||||||
|
Loading…
Reference in New Issue
Block a user