Main: glue_mapper_init() returns true if GetUserMusicDir() fails
Not a fatal error. Fixes assertion failure.
This commit is contained in:
parent
9747cc9e58
commit
0616667688
@ -139,7 +139,7 @@ glue_mapper_init(Error &error)
|
|||||||
if (music_dir.IsNull()) {
|
if (music_dir.IsNull()) {
|
||||||
music_dir = GetUserMusicDir();
|
music_dir = GetUserMusicDir();
|
||||||
if (music_dir.IsNull())
|
if (music_dir.IsNull())
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
mapper_init(std::move(music_dir), std::move(playlist_dir));
|
mapper_init(std::move(music_dir), std::move(playlist_dir));
|
||||||
|
Loading…
Reference in New Issue
Block a user