Add a reference to Qt bug for mediaplaypause

This commit is contained in:
Kovid Goyal 2021-01-08 14:40:37 +05:30
parent 4624fcc1f8
commit b33ea2fcd3
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -188,6 +188,8 @@ class ReadAloud:
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