Update SearchDialog.cpp

This commit is contained in:
Pooh 2017-09-15 17:27:44 +03:00 committed by GitHub
parent ecee1e645c
commit 7144b72c31

View File

@ -1197,7 +1197,7 @@ void SearchDialog::insertFile(qulonglong searchId, const FileDetail& file, int s
found = true ;
if(QString::compare((*it)->text(SR_NAME_COL), QString::fromUtf8(file.name.c_str()), Qt::CaseInsensitive)!=0)
if(QString::compare((*it)->text(SR_NAME_COL), QString::fromUtf8(file.name.c_str()), Qt::CaseSensitive)!=0)
altname = true;
if (!item->data(SR_DATA_COL, SR_ROLE_LOCAL).toBool()) {