pull/29068/head
Shane Smiskol 2 years ago
parent 54ec66667c
commit bc5d58fe81
  1. 1
      selfdrive/ui/qt/maps/map_panel.h
  2. 2
      selfdrive/ui/qt/onroad.cc

@ -17,7 +17,6 @@ public slots:
void requestVisible(bool visible); void requestVisible(bool visible);
void toggleMapSettings(); void toggleMapSettings();
private: private:
QStackedLayout *content_stack; QStackedLayout *content_stack;
}; };

@ -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) { AnnotatedCameraWidget::AnnotatedCameraWidget(VisionStreamType type, QWidget* parent) : fps_filter(UI_FREQ, 3, 1. / UI_FREQ), CameraWidget("camerad", type, true, parent) {
pm = std::make_unique<PubMaster, const std::initializer_list<const char *>>({"uiDebug"}); pm = std::make_unique<PubMaster, const std::initializer_list<const char *>>({"uiDebug"});
QVBoxLayout *main_layout = new QVBoxLayout(this); QVBoxLayout *main_layout = new QVBoxLayout(this);
main_layout->setMargin(UI_BORDER_SIZE); main_layout->setMargin(UI_BORDER_SIZE);
main_layout->setSpacing(0); main_layout->setSpacing(0);

Loading…
Cancel
Save