Update app search.

This commit is contained in:
iaom 2021-08-11 09:34:32 +08:00
parent a1bd5839bc
commit 27da9f3a0e
1 changed files with 1 additions and 2 deletions

View File

@ -344,8 +344,7 @@ void AppMatch::parseSoftWareCenterReturn(QList<QMap<QString, QString>> list, QMa
if(locale.language() == QLocale::Chinese) {
appname = list.at(i).value("displayname_cn");
pkgname = list.at(i).value("appname");
}
if(locale.language() == QLocale::English) {
}else {
appname = list.at(i).value("appname");
}
appdiscription = list.at(i).value("discription");