Fix:Application items cannot be found by using Pinyin and initials when the system language is English.
This commit is contained in:
parent
1931b8327f
commit
e0cb6a46b3
|
@ -163,8 +163,11 @@ void AppMatch::appNameMatch(QString keyWord, size_t uniqueSymbol, DataQueue<Sear
|
|||
}
|
||||
}
|
||||
|
||||
if(iter.value().at(3) == ""){
|
||||
continue;
|
||||
}
|
||||
QStringList pinyinlist;
|
||||
pinyinlist = FileUtils::findMultiToneWords(iter.key().app_name);
|
||||
pinyinlist = FileUtils::findMultiToneWords(iter.value().at(3));
|
||||
|
||||
bool matched = false;
|
||||
for(int i = 0; i < pinyinlist.size() / 2; i++) {
|
||||
|
|
Loading…
Reference in New Issue