aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateRemove.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/UpdateRemove.cxx')
-rw-r--r--src/UpdateRemove.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/UpdateRemove.cxx b/src/UpdateRemove.cxx
index 91588330a..374a767b8 100644
--- a/src/UpdateRemove.cxx
+++ b/src/UpdateRemove.cxx
@@ -60,7 +60,10 @@ song_remove_event(void)
sticker_song_delete(*removed_song);
#endif
- instance->DeleteSong(*removed_song);
+ {
+ const auto uri = removed_song->GetURI();
+ instance->DeleteSong(uri.c_str());
+ }
/* clear "removed_song" and send signal to update thread */
remove_mutex.lock();