Ticket #2956: mythmusic_search.diff
File mythmusic_search.diff, 717 bytes (added by , 17 years ago) |
---|
-
mythmusic/mythmusic/search.cpp
81 81 bool isNumber = false; 82 82 searchText.toULongLong(&isNumber); 83 83 84 searchText.replace("'", "''"); 85 84 86 if (!isNumber) 85 87 { 86 88 QString testString = searchText; … … 174 176 for (uint i = 0; i < list.count(); i++) 175 177 { 176 178 QString stxt = list[i]; 179 stxt.replace("''", "'"); 177 180 int index = -1; 178 181 while( (index = text.findRev(stxt, index, false)) != -1 ) 179 182 {