call ukui-control-center method change
This commit is contained in:
parent
5ba8e09926
commit
9ccf3d947b
|
@ -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()
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue