diff --git a/selfdrive/ui/qt/offroad/networking.cc b/selfdrive/ui/qt/offroad/networking.cc index 0e074c6cb4..5f78d7c5e1 100644 --- a/selfdrive/ui/qt/offroad/networking.cc +++ b/selfdrive/ui/qt/offroad/networking.cc @@ -72,7 +72,6 @@ Networking::Networking(QWidget* parent, bool show_advanced) : QWidget(parent), s } void Networking::refresh() { - qDebug() << "REFRESHED UI!"; wifiWidget->refresh(); an->refresh(); } diff --git a/selfdrive/ui/qt/offroad/networking.h b/selfdrive/ui/qt/offroad/networking.h index 32c0751e2c..e523965071 100644 --- a/selfdrive/ui/qt/offroad/networking.h +++ b/selfdrive/ui/qt/offroad/networking.h @@ -71,8 +71,6 @@ private: WifiUI* wifiWidget; WifiManager* wifi = nullptr; - void attemptInitialization(); - void requestScan(); public slots: void refresh(); diff --git a/selfdrive/ui/qt/offroad/wifiManager.cc b/selfdrive/ui/qt/offroad/wifiManager.cc index 2d26135a58..0458924152 100644 --- a/selfdrive/ui/qt/offroad/wifiManager.cc +++ b/selfdrive/ui/qt/offroad/wifiManager.cc @@ -388,7 +388,7 @@ void WifiManager::propertyChange(const QString &interface, const QVariantMap &pr knownConnections = listConnections(); } if (this->isVisible()) { - refreshNetworks(); // TODO: only refresh on first scan, then use AccessPointAdded and Removed signals + refreshNetworks(); emit refreshSignal(); } }