mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-04 17:33:05 +00:00
feat(dde-dock):delete hotspot but list still exist for bug 5081
This commit is contained in:
parent
7f16af4f7d
commit
0a876c3928
@ -209,10 +209,10 @@ void WirelessList::updateAPList()
|
||||
//if (m_networkInter->IsDeviceEnabled(m_device.dbusPath()))
|
||||
if (m_device->enabled())
|
||||
{
|
||||
if (m_device->hotspotEnabled()) {
|
||||
m_apList.clear();
|
||||
m_apList.append(m_activeHotspotAP);
|
||||
}
|
||||
// if (m_device->hotspotEnabled()) {
|
||||
// m_apList.clear();
|
||||
// m_apList.append(m_activeHotspotAP);
|
||||
// }
|
||||
|
||||
// sort ap list by strength
|
||||
// std::sort(m_apList.begin(), m_apList.end(), std::greater<AccessPoint>());
|
||||
|
Loading…
x
Reference in New Issue
Block a user