From 7203eb1a9e6736c789bd934480a0a0827ac22202 Mon Sep 17 00:00:00 2001 From: chenlelin Date: Tue, 23 Mar 2021 16:20:05 +0800 Subject: [PATCH] Change time interval to scan and update wifi --- src/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index d3b65599..81f18a0f 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -536,7 +536,7 @@ void MainWindow::initTimer() checkWifiListChanged = new QTimer(this); checkWifiListChanged->setTimerType(Qt::PreciseTimer); QObject::connect(checkWifiListChanged, SIGNAL(timeout()), this, SLOT(on_checkWifiListChanged())); - checkWifiListChanged->start(7000); + checkWifiListChanged->start(10*1000); //网线插入时定时执行 wiredCableUpTimer = new QTimer(this);