mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
@@ -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(); };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user