Remove transition code

This commit is contained in:
Tim Bentley 2009-11-12 19:12:13 +00:00
parent 04873758e9
commit 6df4e5a369
1 changed files with 6 additions and 6 deletions

View File

@ -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: