Commit 877092ba authored by Nate Graham's avatar Nate Graham
Browse files

Fix some broken references in playlist signaling

parent 271efd71
Pipeline #40639 passed with stage
in 23 seconds
...@@ -120,10 +120,10 @@ ScrollView { ...@@ -120,10 +120,10 @@ ScrollView {
isPlaying: model.isPlaying isPlaying: model.isPlaying
metadataModifiableRole: model.metadataModifiableRole metadataModifiableRole: model.metadataModifiableRole
onStartPlayback: playListView.startPlayback() onStartPlayback: scrollView.startPlayback()
onPausePlayback: playListView.pausePlayback() onPausePlayback: scrollView.pausePlayback()
onRemoveFromPlaylist: playListView.playListModel.removeRow(trackIndex) onRemoveFromPlaylist: scrollView.playListModel.removeRow(trackIndex)
onSwitchToTrack: playListView.playListModel.switchTo(trackIndex) onSwitchToTrack: scrollView.playListModel.switchTo(trackIndex)
onActiveFocusChanged: { onActiveFocusChanged: {
if (activeFocus && playListView.currentIndex !== index) { if (activeFocus && playListView.currentIndex !== index) {
......
...@@ -84,7 +84,7 @@ ScrollView { ...@@ -84,7 +84,7 @@ ScrollView {
height: entry.height height: entry.height
width: playListView.width width: playListView.width
onClicked: playListView.playListModel.switchTo(index) onClicked: scrollView.playListModel.switchTo(index)
PlayListEntry { PlayListEntry {
id: entry id: entry
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment