Skip to content

Commit

Permalink
skins[-qt]: Copy decoder when creating new playlist
Browse files Browse the repository at this point in the history
Suggested by John in pull request #103.
  • Loading branch information
radioactiveman committed Apr 6, 2022
1 parent 3789fd0 commit ae9b976
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/skins-qt/search-select.cc
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,8 @@ void SearchSelectDialog::copy_selected_to_new (Playlist playlist)
{
items.append
(playlist.entry_filename (entry),
playlist.entry_tuple (entry, Playlist::NoWait));
playlist.entry_tuple (entry, Playlist::NoWait),
playlist.entry_decoder (entry, Playlist::NoWait));
}
}

Expand Down
3 changes: 2 additions & 1 deletion src/skins/search-select.cc
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ static void copy_selected_to_new (Playlist playlist)
{
items.append
(playlist.entry_filename (entry),
playlist.entry_tuple (entry, Playlist::NoWait));
playlist.entry_tuple (entry, Playlist::NoWait),
playlist.entry_decoder (entry, Playlist::NoWait));
}
}

Expand Down

0 comments on commit ae9b976

Please sign in to comment.