Remove " characters from the library filter text before doing an FTS query. Fixes issue #1504

This commit is contained in:
David Sansome 2011-03-04 21:10:10 +00:00
parent 9a1dad3490
commit dacc7c1a2d
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ LibraryQuery::LibraryQuery(const QueryOptions& options)
foreach (QString token, tokens) {
token.remove('(');
token.remove(')');
token.remove('"');
if (token.contains(':'))
query += "fts" + token + "* ";