From 3b03be5fcc7ba5a27122ad09ec54700e705a1b0d Mon Sep 17 00:00:00 2001 From: renpeijia Date: Thu, 21 Oct 2021 14:52:07 +0800 Subject: [PATCH] fix:delete invalde message notify. bug link:http://172.17.66.192/biz/bug-view-85837.html --- src/frontend/tab-pages/wlanpage.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/frontend/tab-pages/wlanpage.cpp b/src/frontend/tab-pages/wlanpage.cpp index 4650a217..d3f5bf9a 100644 --- a/src/frontend/tab-pages/wlanpage.cpp +++ b/src/frontend/tab-pages/wlanpage.cpp @@ -836,8 +836,11 @@ void WlanPage::onConnectionStateChanged(QString uuid, return; } - sendApStateChangeSignal(uuid, ssid, devName, state); - wlanShowNotify(ssid, state, reason); + if (m_connectResource->isApConnection(uuid)) { + sendApStateChangeSignal(uuid, ssid, devName, state); + } else { + wlanShowNotify(ssid, state, reason); + } if (devName != m_currentDevice) { return;