From d6a3f0f9a5da37a66f22f897d8edec7f32594303 Mon Sep 17 00:00:00 2001 From: deanlee Date: Mon, 14 Aug 2023 16:37:56 +0800 Subject: [PATCH] add comment --- selfdrive/ui/qt/offroad/networking.h | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/ui/qt/offroad/networking.h b/selfdrive/ui/qt/offroad/networking.h index f33c311c18..cdcdf067ab 100644 --- a/selfdrive/ui/qt/offroad/networking.h +++ b/selfdrive/ui/qt/offroad/networking.h @@ -12,6 +12,7 @@ public: void setItem(const Network& n, const QPixmap &icon, bool show_forget_btn, const QPixmap &strength); signals: + // Cannot pass Network by reference. it may change after the signal is sent. void connectToNetwork(const Network n); void forgotNetwork(const Network n);