Merge branch '0603-dev' into 'main'

change switch status

See merge request kylin-desktop/kylin-nm!9
This commit is contained in:
Zhang Jiaping 2021-06-04 08:58:00 +00:00
commit 8ac4ca8f9d
1 changed files with 1 additions and 1 deletions

View File

@ -4305,7 +4305,7 @@ void MainWindow::onRfkillStatusChanged()
QThread *rfkill_t = new QThread();
BackThread *rfkill_bt = new BackThread();
rfkill_bt->moveToThread(rfkill_t);
btnWireless->setSwitchStatus(true);
btnWireless->setSwitchStatus(false);
connect(rfkill_t, SIGNAL(finished()), rfkill_t, SLOT(deleteLater()));
connect(rfkill_t, SIGNAL(started()), rfkill_bt, SLOT(rfkillExecDisWifi()));
connect(rfkill_bt, SIGNAL(disWifiDoneByRfkill()), this, SLOT(rfkillDisableWifiDone()));