mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
ui: remove unused MapPanel function (#28874)
forgot about this old-commit-hash: 28df811f42c83c905d6d942eddf0017d096ca7d9
This commit is contained in:
@@ -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