From e3b061b3441f20a368f5a1551295d6e3f42c6735 Mon Sep 17 00:00:00 2001 From: zhangyuanyuan1 Date: Mon, 3 Jul 2023 15:26:16 +0800 Subject: [PATCH] =?UTF-8?q?wifi=E5=AF=86=E7=A0=81=E6=A1=86=E6=A6=82?= =?UTF-8?q?=E7=8E=87=E6=80=A7=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/tab-pages/wlanpage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/tab-pages/wlanpage.cpp b/src/frontend/tab-pages/wlanpage.cpp index f2f9b216..20ec1cad 100644 --- a/src/frontend/tab-pages/wlanpage.cpp +++ b/src/frontend/tab-pages/wlanpage.cpp @@ -1447,6 +1447,7 @@ void WlanPage::activateWirelessConnection(const QString& devName, const QString& WlanListItem *p_wlanItem = nullptr; if (m_wirelessNetItemMap.contains(ssid)) { + Q_EMIT showMainWindow(WLAN_PAGE_INDEX); p_listWidgetItem = m_wirelessNetItemMap.value(ssid); p_wlanItem = (WlanListItem*)m_inactivatedNetListWidget->itemWidget(p_listWidgetItem); @@ -1455,7 +1456,6 @@ void WlanPage::activateWirelessConnection(const QString& devName, const QString& QMouseEvent *event = new QMouseEvent(QEvent::MouseButtonPress, QPoint(0,0), Qt::LeftButton, Qt::LeftButton, Qt::NoModifier); QApplication::postEvent(p_wlanItem, event); - Q_EMIT showMainWindow(WLAN_PAGE_INDEX); } else { qDebug() << "[WlanPage]activateWirelessConnection no such " << ssid << "in" << devName; }