mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-30 14:13:07 +02:00
Add a reference to Qt bug for mediaplaypause
This commit is contained in:
parent
4624fcc1f8
commit
b33ea2fcd3
1 changed files with 2 additions and 0 deletions
|
|
@ -188,6 +188,8 @@ def on_keydown(self, ev):
|
|||
if ev.key is 'Escape':
|
||||
self.hide()
|
||||
return
|
||||
# Note that in the standalone viewer MediaPlayPause is currently broken
|
||||
# in Qt: https://bugreports.qt.io/browse/QTBUG-89915
|
||||
if ev.key is ' ' or ev.key is 'MediaPlayPause' or ev.key is 'PlayPause':
|
||||
self.toggle()
|
||||
return
|
||||
|
|
|
|||
Loading…
Reference in a new issue