Merge branch '1027-cc' into 'dbus-interface'

call ukui-control-center method change

See merge request kylin-desktop/kylin-nm!365
This commit is contained in:
ren peijia 2021-10-28 01:26:00 +00:00
commit c7c0242760
2 changed files with 2 additions and 2 deletions

View File

@ -689,7 +689,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

@ -964,7 +964,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;
}