ui/network: fix typos (#32163)

pull/214/head
Dean Lee 1 year ago committed by GitHub
parent ccddd48db8
commit e66ded444c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 8
      selfdrive/ui/qt/network/wifi_manager.cc

@ -98,10 +98,10 @@ void WifiManager::refreshFinished(QDBusPendingCallWatcher *watcher) {
ipv4_address = getIp4Address(); ipv4_address = getIp4Address();
seenNetworks.clear(); seenNetworks.clear();
const QDBusReply<QList<QDBusObjectPath>> wather_reply = *watcher; const QDBusReply<QList<QDBusObjectPath>> watcher_reply = *watcher;
for (const QDBusObjectPath &path : wather_reply.value()) { for (const QDBusObjectPath &path : watcher_reply.value()) {
QDBusReply<QVariantMap> replay = call(path.path(), NM_DBUS_INTERFACE_PROPERTIES, "GetAll", NM_DBUS_INTERFACE_ACCESS_POINT); QDBusReply<QVariantMap> reply = call(path.path(), NM_DBUS_INTERFACE_PROPERTIES, "GetAll", NM_DBUS_INTERFACE_ACCESS_POINT);
auto properties = replay.value(); auto properties = reply.value();
const QByteArray ssid = properties["Ssid"].toByteArray(); const QByteArray ssid = properties["Ssid"].toByteArray();
if (ssid.isEmpty()) continue; if (ssid.isEmpty()) continue;

Loading…
Cancel
Save