ui: remove unused MapPanel function (#28874)

forgot about this
pull/28868/head^2
Shane Smiskol 2 years ago committed by GitHub
parent 71e001ee57
commit 28df811f42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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); content_stack->addWidget(settings);
} }
bool MapPanel::isShowingMap() const {
return content_stack->currentIndex() == 0;
}

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

Loading…
Cancel
Save