Update StarSongbookInterface.cpp
This commit is contained in:
parent
3e8f914154
commit
80192714b7
@ -64,7 +64,7 @@ void SongbookInterface::refresh(bool reloadFiles) {
|
|||||||
m_files = Root::singleton().assets()->scanExtension(".abc").values();
|
m_files = Root::singleton().assets()->scanExtension(".abc").values();
|
||||||
eraseWhere(m_files, [](String& song) {
|
eraseWhere(m_files, [](String& song) {
|
||||||
if (!song.beginsWith(SongPathPrefix, String::CaseInsensitive)) {
|
if (!song.beginsWith(SongPathPrefix, String::CaseInsensitive)) {
|
||||||
Logger::warn("Song '{}' isn't in {}, ignoring", SongPathPrefix.size(), song);
|
Logger::warn("Song '{}' isn't in {}, ignoring", song, SongPathPrefix);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user