fix:the control center is core, when get wilreless list
This commit is contained in:
parent
801b403973
commit
80ed0ffdf1
|
@ -11,14 +11,10 @@ FORMS += \
|
|||
|
||||
HEADERS += \
|
||||
$$PWD/customstyle.h \
|
||||
$$PWD/kylinwiredwidget.h \
|
||||
$$PWD/mainwindow.h \
|
||||
$$PWD/nmdemo.h \
|
||||
$$PWD/wificonfigdialog.h
|
||||
|
||||
SOURCES += \
|
||||
$$PWD/customstyle.cpp \
|
||||
$$PWD/kylinwiredwidget.cpp \
|
||||
$$PWD/mainwindow.cpp \
|
||||
$$PWD/nmdemo.cpp \
|
||||
$$PWD/wificonfigdialog.cpp
|
||||
|
|
|
@ -1072,7 +1072,9 @@ void WlanPage::getWirelessList(QMap<QString, QVector<QStringList> > &map)
|
|||
if (actMap.contains(iter.key())) {
|
||||
qDebug() << "find " <<iter.key();
|
||||
KyWirelessNetItem data;
|
||||
if (m_wirelessNetResource->getWifiNetwork(iter.key(), actMap[iter.key()].at(0), data)) {
|
||||
QString ssid ="";
|
||||
m_wirelessNetResource->getSsidByUuid(actMap[iter.key()].at(0), ssid);
|
||||
if (m_wirelessNetResource->getWifiNetwork(iter.key(), ssid, data)) {
|
||||
vector.append(QStringList()<<data.m_NetSsid<<QString::number(data.m_signalStrength)<<data.m_secuType);
|
||||
activeSsid = data.m_NetSsid;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue