From 4c1c01861ed5750061b782c1c8ea6c812fc72385 Mon Sep 17 00:00:00 2001 From: renpeijia Date: Tue, 19 Oct 2021 19:00:53 +0800 Subject: [PATCH] fix:control can not start up, when kylin process control center. --- src/frontend/tab-pages/wlanpage.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/frontend/tab-pages/wlanpage.cpp b/src/frontend/tab-pages/wlanpage.cpp index 1100290c..8dd4669b 100644 --- a/src/frontend/tab-pages/wlanpage.cpp +++ b/src/frontend/tab-pages/wlanpage.cpp @@ -828,15 +828,16 @@ void WlanPage::onConnectionStateChanged(QString uuid, QString devName, ssid; m_wirelessNetResource->getSsidByUuid(uuid, ssid); m_wirelessNetResource->getDeviceByUuid(uuid, devName); + + qDebug()<< LOG_FLAG << "emit wlanActiveConnectionStateChanged" << devName << ssid << state; + emit wlanActiveConnectionStateChanged(devName, ssid, uuid, state); + if (ssid.isEmpty() || devName.isEmpty()) { qDebug()<< LOG_FLAG << "ssid or devicename is empty" << "devicename"<< devName <<"ssid"< > &map) QString ssid =""; m_wirelessNetResource->getSsidByUuid(actMap[iter.key()].at(0), ssid); if (m_wirelessNetResource->getWifiNetwork(iter.key(), ssid, data)) { - vector.append(QStringList()<