[vlc-devel] [PATCH 31/55] qml: remove unneeded condition check for SelectAll in PlaylistListView
Fatih Uzunoglu
fuzun54 at outlook.com
Thu Jan 7 21:36:44 UTC 2021
---
modules/gui/qt/playlist/qml/PlaylistListView.qml | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml
index 95f8cda095..524fd45c98 100644
--- a/modules/gui/qt/playlist/qml/PlaylistListView.qml
+++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml
@@ -638,15 +638,6 @@ Widgets.NavigableFocusScope {
}
Keys.priority: Keys.AfterItem
- Keys.forwardTo: view
- Keys.onPressed: {
- if (event.matches(StandardKey.SelectAll))
- {
- root.model.selectAll();
- }
- else
- {
- defaultKeyAction(event, 0)
- }
- }
+ Keys.forwardTo: listView
+ Keys.onPressed: defaultKeyAction(event, 0)
}
--
2.27.0
More information about the vlc-devel
mailing list