diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 3ed4481..f77a0bd 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -46,7 +46,7 @@ static void drawIconGif(QPainter &p, const QPoint ¢er, const QMovie &img, co } OnroadWindow::OnroadWindow(QWidget *parent) : QWidget(parent), scene(uiState()->scene) { - bg = QLinearGradient(0, height(), 0, 0); // Initialize bg to a default color + bg = QColor(0x17, 0x33, 0x49, 0xc8); // init to a default color QVBoxLayout *main_layout = new QVBoxLayout(this); main_layout->setMargin(UI_BORDER_SIZE); QStackedLayout *stacked_layout = new QStackedLayout;