Fix bug can not create wired network auto when launch OS if there is no wired already
This commit is contained in:
parent
aa83bc0886
commit
5e928435bd
|
@ -1180,7 +1180,7 @@ QString KylinDBus::getActiveWifiUuid()
|
|||
return ssid;
|
||||
}
|
||||
|
||||
//获取已连接wifi的uuid
|
||||
//获取已连接wifi的信息
|
||||
int KylinDBus::getActiveWifiSignal()
|
||||
{
|
||||
int wifistrength = 0;
|
||||
|
|
|
@ -123,6 +123,9 @@ MainWindow::MainWindow(QWidget *parent) :
|
|||
|
||||
hasWifiConnected = false;
|
||||
numberForWifiScan = 0;
|
||||
|
||||
//检查有线网络的个数是否为0,如果是0,则新建一个有线网络
|
||||
checkIfWiredNetExist();
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
|
|
Loading…
Reference in New Issue