fix(frontend): Main process crashed when open kylin-software-center to install applications.
Description: 修复点击应用安装时ukui-search主进程崩溃的问题 Log: 修复点击应用安装时ukui-search主进程崩溃的问题
This commit is contained in:
parent
ae44103f19
commit
3b147c3e69
|
@ -587,7 +587,8 @@ bool SearchDetailView::installAppAction(const QString & name)
|
|||
{
|
||||
//打开软件商店下载此软件
|
||||
QProcess process;
|
||||
process.startDetached(QString("kylin-software-center -find %1").arg(name));
|
||||
bool res = process.startDetached(QString("kylin-software-center -find %1").arg(name));
|
||||
return res;
|
||||
}
|
||||
|
||||
void SearchDetailView::paintEvent(QPaintEvent *event) {
|
||||
|
|
Loading…
Reference in New Issue