Remove dummy initialization of preview_display to solve issue of mediaplayer preview being hidden

This commit is contained in:
Tomas Groth 2014-12-04 22:14:56 +00:00
parent 782b3d3bcf
commit fd57f81376

View File

@ -332,9 +332,6 @@ class SlideController(DisplayController, RegistryProperties):
self.slide_layout.setMargin(0) self.slide_layout.setMargin(0)
self.slide_layout.setObjectName('SlideLayout') self.slide_layout.setObjectName('SlideLayout')
self.preview_display = Display(self) self.preview_display = Display(self)
self.preview_display.setGeometry(QtCore.QRect(0, 0, 300, 300))
self.preview_display.screen = {'size': self.preview_display.geometry()}
self.preview_display.setup()
self.slide_layout.insertWidget(0, self.preview_display) self.slide_layout.insertWidget(0, self.preview_display)
self.preview_display.hide() self.preview_display.hide()
# Actual preview screen # Actual preview screen