forked from openkylin/ukui-search
Merge branch '0929frontend' into 'new-frontend'
Fix:Application items cannot be found by using Pinyin and initials when the... See merge request kylin-desktop/ukui-search!158
This commit is contained in:
commit
7c0e9f55a2
|
@ -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