Fix code style and errors

This commit is contained in:
Jonas Kvinge
2019-04-08 18:46:11 +02:00
parent 0ce5b50950
commit 9be161d165
58 changed files with 146 additions and 146 deletions

View File

@@ -257,7 +257,7 @@ void SongLoader::LoadLocalAsync(const QString &filename) {
cue.open(QIODevice::ReadOnly);
SongList song_list = cue_parser_->Load(&cue, matching_cue, QDir(filename.section('/', 0, -2)));
for (Song song: song_list){
for (const Song &song : song_list) {
if (song.is_valid()) songs_ << song;
}
return;