Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Elisa
Commits
877092ba
Commit
877092ba
authored
Nov 12, 2020
by
Nate Graham
Browse files
Fix some broken references in playlist signaling
parent
271efd71
Pipeline
#40639
passed with stage
in 23 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/qml/PlayListBasicView.qml
View file @
877092ba
...
...
@@ -120,10 +120,10 @@ ScrollView {
isPlaying
:
model
.
isPlaying
metadataModifiableRole
:
model
.
metadataModifiableRole
onStartPlayback
:
playList
View
.
startPlayback
()
onPausePlayback
:
playList
View
.
pausePlayback
()
onRemoveFromPlaylist
:
playList
View
.
playListModel
.
removeRow
(
trackIndex
)
onSwitchToTrack
:
playList
View
.
playListModel
.
switchTo
(
trackIndex
)
onStartPlayback
:
scroll
View
.
startPlayback
()
onPausePlayback
:
scroll
View
.
pausePlayback
()
onRemoveFromPlaylist
:
scroll
View
.
playListModel
.
removeRow
(
trackIndex
)
onSwitchToTrack
:
scroll
View
.
playListModel
.
switchTo
(
trackIndex
)
onActiveFocusChanged
:
{
if
(
activeFocus
&&
playListView
.
currentIndex
!==
index
)
{
...
...
src/qml/SimplePlayListView.qml
View file @
877092ba
...
...
@@ -84,7 +84,7 @@ ScrollView {
height
:
entry
.
height
width
:
playListView
.
width
onClicked
:
playList
View
.
playListModel
.
switchTo
(
index
)
onClicked
:
scroll
View
.
playListModel
.
switchTo
(
index
)
PlayListEntry
{
id
:
entry
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment