From 7080c82affd772d58ad1dcdfce8e054525ecb906 Mon Sep 17 00:00:00 2001 From: crrs666 Date: Mon, 10 May 2021 16:39:00 +0800 Subject: [PATCH] fix 50612 property button no response --- src/oneconnform.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/oneconnform.cpp b/src/oneconnform.cpp index 3b98a7c0..65f74eb5 100644 --- a/src/oneconnform.cpp +++ b/src/oneconnform.cpp @@ -205,7 +205,10 @@ void OneConnForm::mousePressEvent(QMouseEvent *) 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;\"")); } //事件过滤器