ui: remove unused MapPanel function (#28874)

forgot about this
old-commit-hash: 28df811f42c83c905d6d942eddf0017d096ca7d9
This commit is contained in:
Shane Smiskol
2023-07-11 00:46:59 -07:00
committed by GitHub
parent c9630b0a7a
commit b205c1b1f0
2 changed files with 0 additions and 6 deletions
-4
View File
@@ -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;
}
-2
View File
@@ -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(); };