diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index f6d82732..6d6946cb 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -3033,10 +3033,10 @@ void MainWindow::on_setNetSpeed() } } - qDebug() << Q_FUNC_INFO << "start" << start_rcv_rates << start_tx_rates; +// qDebug() << Q_FUNC_INFO << "start" << start_rcv_rates << start_tx_rates; long int delta_rcv = (start_rcv_rates - end_rcv_rates)/1024; long int delta_tx = (start_tx_rates - end_tx_rates)/1024; - qDebug() << Q_FUNC_INFO << "delta" << delta_rcv << delta_tx; +// qDebug() << Q_FUNC_INFO << "delta" << delta_rcv << delta_tx; // if (delta_rcv>=10000 || delta_rcv<0){delta_rcv = 0;} // if (delta_tx>=10000 || delta_tx<0){delta_tx = 0;} diff --git a/src/oneconnform.cpp b/src/oneconnform.cpp index 312f0d5c..8bb32df8 100644 --- a/src/oneconnform.cpp +++ b/src/oneconnform.cpp @@ -501,6 +501,10 @@ void OneConnForm::slotConnWifiPWD() //点击后断开wifi网络 void OneConnForm::on_btnDisConn_clicked() { + if (mw->is_stop_check_net_state == 1) { + return; + } + syslog(LOG_DEBUG, "DisConnect button about wifi net is clicked, current wifi name is %s .", wifiName.toUtf8().data()); qDebug()<<"DisConnect button about wifi net is clicked, current wifi name is "<