格式修改
This commit is contained in:
parent
d3c0ac06a6
commit
b0e6c79906
|
@ -906,7 +906,8 @@ void WlanPage::showDetailPage(QString devName, QString ssid)
|
||||||
|
|
||||||
QString actSsid;
|
QString actSsid;
|
||||||
m_resource->getSsidByUuid(actMap[devName].at(0), actSsid, devName);
|
m_resource->getSsidByUuid(actMap[devName].at(0), actSsid, devName);
|
||||||
bool isActive = (actSsid == ssid);
|
|
||||||
|
bool isActive = !actSsid.compare(ssid);
|
||||||
NetDetail *netDetail = new NetDetail(devName, ssid, data.m_connectUuid, isActive, true, true, this);
|
NetDetail *netDetail = new NetDetail(devName, ssid, data.m_connectUuid, isActive, true, true, this);
|
||||||
netDetail->show();
|
netDetail->show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue