[vlc-commits] [Git][videolan/vlc][master] qml: make playlist tool bar buttons focusable

Steve Lhomme (@robUx4) gitlab at videolan.org
Wed Nov 13 16:39:29 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
ee78d290 by Fatih Uzunoglu at 2024-11-13T16:10:58+00:00
qml: make playlist tool bar buttons focusable

These were made explicitly unfocusable due to
the existence of the overlay menu. However,
the overlay menu is no more, so the buttons
should be able to gain focus.

- - - - -


1 changed file:

- modules/gui/qt/playlist/qml/PlaylistToolbar.qml


Changes:

=====================================
modules/gui/qt/playlist/qml/PlaylistToolbar.qml
=====================================
@@ -54,7 +54,6 @@ RowLayout {
                       : VLCIcons.repeat_all
             checked: MainPlaylistController.repeatMode !== PlaylistController.PLAYBACK_REPEAT_NONE
             onClicked: MainPlaylistController.toggleRepeatMode()
-            focusPolicy: Qt.NoFocus
         }
     }
 
@@ -76,7 +75,6 @@ RowLayout {
             description: qsTr("Shuffle")
             text: VLCIcons.shuffle
             onClicked: MainPlaylistController.toggleRandom()
-            focusPolicy: Qt.NoFocus
         }
     }
 
@@ -100,8 +98,6 @@ RowLayout {
 
             popupAbove: true
 
-            focusPolicy: Qt.NoFocus
-
             model: MainPlaylistController.sortKeyTitleList
 
             onSortSelected: key => {
@@ -147,7 +143,6 @@ RowLayout {
             description: qsTr("Clear playqueue")
             text: VLCIcons.playlist_clear
             onClicked: MainPlaylistController.clear()
-            focusPolicy: Qt.NoFocus
         }
     }
 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ee78d290f12c6fa94b7e141c4b1a6360cce8ea7f

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/ee78d290f12c6fa94b7e141c4b1a6360cce8ea7f
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list