Browse Source

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.
pull/172/head
Fatih Uzunoglu 2 years ago
committed by Steve Lhomme
parent
commit
ee78d290f1
  1. 5
      modules/gui/qt/playlist/qml/PlaylistToolbar.qml

5
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
}
}
}

Loading…
Cancel
Save