Ticket #2956: mythmusic_search.diff

File mythmusic_search.diff, 717 bytes (added by otto at kolsi dot fi, 20 years ago)
  • mythmusic/mythmusic/search.cpp

     
    8181    bool isNumber = false;
    8282    searchText.toULongLong(&isNumber);
    8383
     84    searchText.replace("'", "''");
     85
    8486    if (!isNumber)
    8587    {
    8688        QString testString = searchText;
     
    174176                for (uint i = 0; i < list.count(); i++)
    175177                {
    176178                    QString stxt = list[i];
     179                    stxt.replace("''", "'");
    177180                    int index = -1;
    178181                    while( (index = text.findRev(stxt, index, false)) != -1 )
    179182                    {