summaryrefslogtreecommitdiff
path: root/src/queue/PlaylistEdit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue/PlaylistEdit.cxx')
-rw-r--r--src/queue/PlaylistEdit.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/queue/PlaylistEdit.cxx b/src/queue/PlaylistEdit.cxx
index 2ac015f6f..d10edb942 100644
--- a/src/queue/PlaylistEdit.cxx
+++ b/src/queue/PlaylistEdit.cxx
@@ -479,8 +479,8 @@ playlist::SetSongIdRange(PlayerControl &pc, unsigned id,
}
/* edit it */
- song.SetStartMS(start_ms);
- song.SetEndMS(end_ms);
+ song.SetStartTime(SongTime::FromMS(start_ms));
+ song.SetEndTime(SongTime::FromMS(end_ms));
/* announce the change to all interested subsystems */
UpdateQueuedSong(pc, nullptr);