From bc5d58fe810df3996a9ab1061ef76e992a2fade2 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Mon, 24 Jul 2023 16:09:51 -0700 Subject: [PATCH] clean up --- selfdrive/ui/qt/maps/map_panel.h | 1 - selfdrive/ui/qt/onroad.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/selfdrive/ui/qt/maps/map_panel.h b/selfdrive/ui/qt/maps/map_panel.h index be9f5b52f9..ad724bcfbb 100644 --- a/selfdrive/ui/qt/maps/map_panel.h +++ b/selfdrive/ui/qt/maps/map_panel.h @@ -17,7 +17,6 @@ public slots: void requestVisible(bool visible); void toggleMapSettings(); - private: QStackedLayout *content_stack; }; diff --git a/selfdrive/ui/qt/onroad.cc b/selfdrive/ui/qt/onroad.cc index 1997534e6a..e7b3506195 100644 --- a/selfdrive/ui/qt/onroad.cc +++ b/selfdrive/ui/qt/onroad.cc @@ -248,7 +248,7 @@ void MapSettingsButton::paintEvent(QPaintEvent *event) { AnnotatedCameraWidget::AnnotatedCameraWidget(VisionStreamType type, QWidget* parent) : fps_filter(UI_FREQ, 3, 1. / UI_FREQ), CameraWidget("camerad", type, true, parent) { pm = std::make_unique>({"uiDebug"}); - QVBoxLayout *main_layout = new QVBoxLayout(this); + QVBoxLayout *main_layout = new QVBoxLayout(this); main_layout->setMargin(UI_BORDER_SIZE); main_layout->setSpacing(0);