From 995475529676baea20e946191eabb733dd4bed0a Mon Sep 17 00:00:00 2001 From: Edison-CBS Date: Sat, 11 Nov 2023 15:53:21 +0800 Subject: [PATCH] bug fix: member initializer scene does not name a non-static data member or base class --- selfdrive/ui/qt/onroad.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/selfdrive/ui/qt/onroad.h b/selfdrive/ui/qt/onroad.h index dedf6bc8d42e85..f91273ba7fcac5 100644 --- a/selfdrive/ui/qt/onroad.h +++ b/selfdrive/ui/qt/onroad.h @@ -44,6 +44,10 @@ class ExperimentalButton : public QPushButton { void changeMode(); Params params; + + // FrogPilot variables + const UIScene &scene; + QPixmap engage_img; QPixmap experimental_img; bool experimental_mode; @@ -108,6 +112,7 @@ class AnnotatedCameraWidget : public CameraWidget { // FrogPilot variables bool drivingPersonalitiesUIWheel; int personalityProfile; + const UIScene &scene; bool showDriverCamera; QVector> profile_data;