diff --git a/libsearch/appsearch/app-match.cpp b/libsearch/appsearch/app-match.cpp index 45439f3..4b115d7 100644 --- a/libsearch/appsearch/app-match.cpp +++ b/libsearch/appsearch/app-match.cpp @@ -60,6 +60,8 @@ AppMatch::~AppMatch(){ void AppMatch::startMatchApp(QString input,QMap &installed,QMap &softwarereturn){ input.replace(" ",""); + if(input.isEmpty()) + return; m_sourceText=input; getAppName(installed); softWareCenterSearch(softwarereturn);