Skip to content

Commit

Permalink
bug fix: member initializer scene does not name a non-static data mem…
Browse files Browse the repository at this point in the history
…ber or base class
  • Loading branch information
Edison-CBS committed Nov 11, 2023
1 parent 7dacd68 commit 9954755
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions selfdrive/ui/qt/onroad.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -108,6 +112,7 @@ class AnnotatedCameraWidget : public CameraWidget {
// FrogPilot variables
bool drivingPersonalitiesUIWheel;
int personalityProfile;
const UIScene &scene;
bool showDriverCamera;
QVector<std::pair<QPixmap, QString>> profile_data;

Expand Down

0 comments on commit 9954755

Please sign in to comment.