Change filename to url
This commit is contained in:
parent
60aed593b3
commit
c92a7967ea
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue