forked from openlp/openlp
comment cleanup
This commit is contained in:
parent
0c03809526
commit
1050e216e1
@ -504,7 +504,7 @@ class VideoDisplay(Phonon.VideoWidget):
|
|||||||
|
|
||||||
def keyPressEvent(self, event):
|
def keyPressEvent(self, event):
|
||||||
if isinstance(event, QtGui.QKeyEvent):
|
if isinstance(event, QtGui.QKeyEvent):
|
||||||
# here accept the event and do something
|
# Here accept the event and do something.
|
||||||
if event.key() == QtCore.Qt.Key_Escape:
|
if event.key() == QtCore.Qt.Key_Escape:
|
||||||
self.onMediaStop()
|
self.onMediaStop()
|
||||||
event.accept()
|
event.accept()
|
||||||
|
Loading…
Reference in New Issue
Block a user