fix(search): 修复搜索应用时图标显示异常问题

This commit is contained in:
hewenfei 2024-04-07 09:14:27 +08:00
parent f62d0dc8fb
commit 598758c28d
1 changed files with 1 additions and 1 deletions

View File

@ -104,7 +104,7 @@ void AppSearchPluginPrivate::run()
app.setType(DataType::Normal);
app.setId(result.getValue(UkuiSearch::SearchProperty::ApplicationDesktopPath).toString());
app.setName(result.getValue(UkuiSearch::SearchProperty::ApplicationLocalName).toString());
app.setIcon("image://theme/" + result.getValue(UkuiSearch::SearchProperty::ApplicationIconName).toString());
app.setIcon(result.getValue(UkuiSearch::SearchProperty::ApplicationIconName).toString());
Q_EMIT this->searchedOne(app);
}