From 106e8d90640bc4c6e7d77b8edaf53a3d8906eeb9 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 4 May 2024 14:59:04 -0500 Subject: [PATCH] wip --- selfdrive/ui/qt/onroad.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index ae467dc..2a311b7 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -900,7 +900,7 @@ void AnnotatedCameraWidget::drawLaneLines(QPainter &painter, const UIState *s) { painter.drawPolygon(scene.track_vertices); // Paint path edges ,Use current background color - QColor bgColor = bg_colors[uiState().status]; + QColor bgColor = bg_colors[uiState()->status]; // Clearpilot if (paramsMemory.getInt("no_lat_lane_change") == 1) { bgColor = bg_colors[STATUS_DISENGAGED];