Skip to content

Commit ee78d29

Browse files
fuzunrobUx4
authored andcommitted
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 parent cbc4d43 commit ee78d29

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ RowLayout {
5454
: VLCIcons.repeat_all
5555
checked: MainPlaylistController.repeatMode !== PlaylistController.PLAYBACK_REPEAT_NONE
5656
onClicked: MainPlaylistController.toggleRepeatMode()
57-
focusPolicy: Qt.NoFocus
5857
}
5958
}
6059

@@ -76,7 +75,6 @@ RowLayout {
7675
description: qsTr("Shuffle")
7776
text: VLCIcons.shuffle
7877
onClicked: MainPlaylistController.toggleRandom()
79-
focusPolicy: Qt.NoFocus
8078
}
8179
}
8280

@@ -100,8 +98,6 @@ RowLayout {
10098

10199
popupAbove: true
102100

103-
focusPolicy: Qt.NoFocus
104-
105101
model: MainPlaylistController.sortKeyTitleList
106102

107103
onSortSelected: key => {
@@ -147,7 +143,6 @@ RowLayout {
147143
description: qsTr("Clear playqueue")
148144
text: VLCIcons.playlist_clear
149145
onClicked: MainPlaylistController.clear()
150-
focusPolicy: Qt.NoFocus
151146
}
152147
}
153148
}

0 commit comments

Comments
 (0)