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()
|
void LanPage::onShowControlCenter()
|
||||||
{
|
{
|
||||||
QProcess process;
|
QProcess process;
|
||||||
process.startDetached("ukui-control-center --wiredconnect");
|
process.startDetached("ukui-control-center -m netconnect");
|
||||||
}
|
}
|
||||||
|
|
||||||
void LanPage::initUI()
|
void LanPage::initUI()
|
||||||
|
|
|
@ -922,7 +922,7 @@ void WlanPage::showControlCenter()
|
||||||
qDebug() << LOG_FLAG <<"show control center";
|
qDebug() << LOG_FLAG <<"show control center";
|
||||||
|
|
||||||
QProcess process;
|
QProcess process;
|
||||||
process.startDetached("ukui-control-center --wlanconnect");
|
process.startDetached("ukui-control-center -m wlanconnect");
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue