From 44a5221c51e8104588df83549266703e83a47858 Mon Sep 17 00:00:00 2001 From: Willem-Jan de Hoog Date: Fri, 21 Aug 2020 01:55:45 -0400 Subject: [PATCH] fix ws --- plugins/HandleMediaKeys/HandleMediaKeys.cpp | 1 - qml/Components/PhysicalKeysMapper.qml | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/HandleMediaKeys/HandleMediaKeys.cpp b/plugins/HandleMediaKeys/HandleMediaKeys.cpp index 273c54ee84..4deb3486cb 100644 --- a/plugins/HandleMediaKeys/HandleMediaKeys.cpp +++ b/plugins/HandleMediaKeys/HandleMediaKeys.cpp @@ -50,4 +50,3 @@ void HandleMediaKeys::onMediaKey(int key) { Q_EMIT mediaKey(key); } - diff --git a/qml/Components/PhysicalKeysMapper.qml b/qml/Components/PhysicalKeysMapper.qml index 9252917afc..26faf066ba 100644 --- a/qml/Components/PhysicalKeysMapper.qml +++ b/qml/Components/PhysicalKeysMapper.qml @@ -159,8 +159,8 @@ Item { d.superTabPressed = false; event.accepted = true; } - } else if ( event.key == Qt.Key_MediaNext - || event.key == Qt.Key_MediaPrevious + } else if ( event.key == Qt.Key_MediaNext + || event.key == Qt.Key_MediaPrevious || event.key == Qt.Key_MediaPlay || event.key == Qt.Key_WebCam ) {