forked from openlp/openlp
Remove transition code
This commit is contained in:
parent
04873758e9
commit
6df4e5a369
@ -197,16 +197,16 @@ class MainDisplay(DisplayWidget):
|
||||
if self.timer_id != 0 :
|
||||
self.displayAlert()
|
||||
elif not self.displayBlank:
|
||||
self.setWindowOpacity(0.5)
|
||||
self.show()
|
||||
# self.setWindowOpacity(0.5)
|
||||
# self.show()
|
||||
self.display.setPixmap(QtGui.QPixmap.fromImage(frame))
|
||||
QtCore.QTimer.singleShot(500, self.aa )
|
||||
# QtCore.QTimer.singleShot(500, self.aa )
|
||||
if not self.isVisible():
|
||||
self.setVisible(True)
|
||||
self.showFullScreen()
|
||||
|
||||
def aa(self):
|
||||
self.setWindowOpacity(1)
|
||||
#
|
||||
# def aa(self):
|
||||
# self.setWindowOpacity(1)
|
||||
|
||||
def blankDisplay(self):
|
||||
if not self.displayBlank:
|
||||
|
Loading…
Reference in New Issue
Block a user