call ukui-control-center method change

This commit is contained in:
jzxc95 2021-10-27 16:35:39 +08:00
parent 5ba8e09926
commit 9ccf3d947b
2 changed files with 2 additions and 2 deletions

View File

@ -690,7 +690,7 @@ void LanPage::onDeviceComboxIndexChanged(int currentIndex)
void LanPage::onShowControlCenter()
{
QProcess process;
process.startDetached("ukui-control-center --wiredconnect");
process.startDetached("ukui-control-center -m netconnect");
}
void LanPage::initUI()

View File

@ -922,7 +922,7 @@ void WlanPage::showControlCenter()
qDebug() << LOG_FLAG <<"show control center";
QProcess process;
process.startDetached("ukui-control-center --wlanconnect");
process.startDetached("ukui-control-center -m wlanconnect");
return;
}