fix:Type a lot of space, and you'll still see a lot of app names

http://172.17.66.192/biz/bug-view-42203.html
This commit is contained in:
sunfengsheng 2021-03-11 14:19:04 +08:00
parent 555b471e6f
commit af02c8d613
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ AppMatch::~AppMatch(){
void AppMatch::startMatchApp(QString input,QMap<NameString,QStringList> &installed,QMap<NameString,QStringList> &softwarereturn){
input.replace(" ","");
if(input.isEmpty())
return;
m_sourceText=input;
getAppName(installed);
softWareCenterSearch(softwarereturn);