fix 50612 property button no response

This commit is contained in:
crrs666 2021-05-10 16:39:00 +08:00
parent 4464c91e06
commit 7080c82aff
1 changed files with 4 additions and 1 deletions

View File

@ -205,7 +205,10 @@ void OneConnForm::mousePressEvent(QMouseEvent *)
void OneConnForm::onBtnPropertyClicked() void OneConnForm::onBtnPropertyClicked()
{ {
QProcess::startDetached(QString("ukui-control-center --netconnect")); //WORKAROUND::ukui-control-center启动会出现rfkill僵尸进程
//添加sleep后可以正常打开
//此处sleep了10毫秒
QProcess::startDetached(QString("bash -c \"sleep 0.01; ukui-control-center --netconnect;\""));
} }
//事件过滤器 //事件过滤器