Change filename to url

This commit is contained in:
Jonas Kvinge 2019-07-06 14:54:41 +02:00
parent 60aed593b3
commit c92a7967ea
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ SongLoader::Result SongLoader::LoadLocal(const QString &filename) {
CollectionQuery query; CollectionQuery query;
query.SetColumnSpec("%songs_table.ROWID, " + Song::kColumnSpec); query.SetColumnSpec("%songs_table.ROWID, " + Song::kColumnSpec);
query.AddWhere("filename", url.toEncoded()); query.AddWhere("url", url.toEncoded());
if (collection_->ExecQuery(&query) && query.Next()) { if (collection_->ExecQuery(&query) && query.Next()) {
// We may have many results when the file has many sections // We may have many results when the file has many sections