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
6bac7e23
Commit
6bac7e23
authored
May 15, 2021
by
Tranter Madi
🌧
Browse files
Allow resuming when clicking on Playlist's play button
parent
ab712cd2
Pipeline
#62117
passed with stage
in 8 minutes and 39 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/qml/PlayListEntry.qml
View file @
6bac7e23
...
...
@@ -242,6 +242,8 @@ BasePlayListDelegate {
icon.name
:
(
isPlaying
===
MediaPlayList
.
IsPlaying
)
?
"
media-playback-pause
"
:
"
media-playback-start
"
onClicked
:
if
(
isPlaying
===
MediaPlayList
.
IsPlaying
)
{
playListEntry
.
pausePlayback
()
}
else
if
(
isPlaying
===
MediaPlayList
.
IsPaused
)
{
playListEntry
.
startPlayback
()
}
else
{
playListEntry
.
switchToTrack
(
playListEntry
.
index
)
playListEntry
.
startPlayback
()
...
...
Write
Preview
Markdown
is supported
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