forked from openlp/openlp
removed dead code§
This commit is contained in:
parent
76f47a4f62
commit
ec5991a197
@ -122,14 +122,6 @@ class MainDisplay(QtGui.QGraphicsView):
|
|||||||
self.frame.setScrollBarPolicy(QtCore.Qt.Horizontal,
|
self.frame.setScrollBarPolicy(QtCore.Qt.Horizontal,
|
||||||
QtCore.Qt.ScrollBarAlwaysOff)
|
QtCore.Qt.ScrollBarAlwaysOff)
|
||||||
if self.isLive:
|
if self.isLive:
|
||||||
# Build the initial frame.
|
|
||||||
self.black = QtGui.QImage(
|
|
||||||
self.screen[u'size'].width(),
|
|
||||||
self.screen[u'size'].height(),
|
|
||||||
QtGui.QImage.Format_ARGB32_Premultiplied)
|
|
||||||
painter_image = QtGui.QPainter()
|
|
||||||
painter_image.begin(self.black)
|
|
||||||
painter_image.fillRect(self.black.rect(), QtCore.Qt.black)
|
|
||||||
# Build the initial frame.
|
# Build the initial frame.
|
||||||
image_file = QtCore.QSettings().value(u'advanced/default image',
|
image_file = QtCore.QSettings().value(u'advanced/default image',
|
||||||
QtCore.QVariant(u':/graphics/openlp-splash-screen.png'))\
|
QtCore.QVariant(u':/graphics/openlp-splash-screen.png'))\
|
||||||
|
Loading…
Reference in New Issue
Block a user