mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-17 20:09:50 +01:00
Use toEncoded instead of toString in SQL query
This commit is contained in:
parent
5841bb58a7
commit
5cbb86f247
@ -305,7 +305,7 @@ void SongLoader::EffectiveSongsLoad() {
|
||||
|
||||
LibraryQuery query;
|
||||
query.SetColumnSpec("%songs_table.ROWID, " + Song::kColumnSpec);
|
||||
query.AddWhere("filename", song.url().toString());
|
||||
query.AddWhere("filename", song.url().toEncoded());
|
||||
|
||||
if (library_->ExecQuery(&query) && query.Next()) {
|
||||
// we may have many results when the file has many sections
|
||||
|
Loading…
Reference in New Issue
Block a user