Main: chop separators from music directory

Move call from Mapper.cxx.
This commit is contained in:
Max Kellermann
2014-02-07 23:13:24 +01:00
parent 027b2063ba
commit c45f205593
2 changed files with 3 additions and 1 deletions

View File

@@ -92,7 +92,6 @@ mapper_set_music_dir(AllocatedPath &&path)
assert(!path.IsNull());
music_dir_fs = std::move(path);
music_dir_fs.ChopSeparators();
const auto music_dir_utf8 = music_dir_fs.ToUTF8();