1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-17 12:02:48 +01:00

Use toEncoded instead of toString in SQL query

This commit is contained in:
Arnaud Bienner 2011-08-19 22:37:59 +02:00
parent 5841bb58a7
commit 5cbb86f247

View File

@ -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