ui: remove unused MapPanel function (#28874)

forgot about this
old-commit-hash: 28df811f42
beeps
Shane Smiskol 2 years ago committed by GitHub
parent c9630b0a7a
commit b205c1b1f0
  1. 4
      selfdrive/ui/qt/maps/map_panel.cc
  2. 2
      selfdrive/ui/qt/maps/map_panel.h

@ -28,7 +28,3 @@ MapPanel::MapPanel(const QMapboxGLSettings &mapboxSettings, QWidget *parent) : Q
});
content_stack->addWidget(settings);
}
bool MapPanel::isShowingMap() const {
return content_stack->currentIndex() == 0;
}

@ -10,8 +10,6 @@ class MapPanel : public QFrame {
public:
explicit MapPanel(const QMapboxGLSettings &settings, QWidget *parent = nullptr);
bool isShowingMap() const;
private:
void showEvent(QShowEvent *event) { emit mapWindowShown(); };

Loading…
Cancel
Save