格式修改

This commit is contained in:
jzxc95 2021-09-29 16:56:57 +08:00
parent d3c0ac06a6
commit b0e6c79906
1 changed files with 2 additions and 1 deletions

View File

@ -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();
} }