Formatting
This commit is contained in:
parent
5f156d6bab
commit
e2d8149dcf
|
@ -334,9 +334,11 @@ SongLoader::Result SongLoader::LoadLocalAsync(const QString &filename) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SongLoader::LoadMetadataBlocking() {
|
void SongLoader::LoadMetadataBlocking() {
|
||||||
|
|
||||||
for (int i = 0; i < songs_.size(); i++) {
|
for (int i = 0; i < songs_.size(); i++) {
|
||||||
EffectiveSongLoad(&songs_[i]);
|
EffectiveSongLoad(&songs_[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SongLoader::EffectiveSongLoad(Song *song) {
|
void SongLoader::EffectiveSongLoad(Song *song) {
|
||||||
|
@ -354,7 +356,7 @@ void SongLoader::EffectiveSongLoad(Song *song) {
|
||||||
*song = collection_song;
|
*song = collection_song;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// it's a normal media file
|
// It's a normal media file
|
||||||
QString filename = song->url().toLocalFile();
|
QString filename = song->url().toLocalFile();
|
||||||
TagReaderClient::Instance()->ReadFileBlocking(filename, song);
|
TagReaderClient::Instance()->ReadFileBlocking(filename, song);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue