From a7774737ccb39d6b37bbd79d899cfee5ffb1dd2c Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Sun, 31 Aug 2014 11:48:32 -0700 Subject: [PATCH] Finish removal of APM mode selection --- src/ui/main/QGCViewModeSelection.cc | 12 +----------- src/ui/main/QGCViewModeSelection.h | 1 - src/ui/main/QGCViewModeSelection.ui | 24 ------------------------ 3 files changed, 1 insertion(+), 36 deletions(-) diff --git a/src/ui/main/QGCViewModeSelection.cc b/src/ui/main/QGCViewModeSelection.cc index 341b0d724..485fb5d9c 100644 --- a/src/ui/main/QGCViewModeSelection.cc +++ b/src/ui/main/QGCViewModeSelection.cc @@ -13,11 +13,7 @@ QGCViewModeSelection::QGCViewModeSelection(QWidget *parent) : connect(ui->viewModeGeneric, SIGNAL(clicked()), this, SLOT(selectGeneric())); connect(ui->viewModeAR, SIGNAL(clicked()), this, SLOT(selectWifi())); connect(ui->viewModePX4, SIGNAL(clicked()), this, SLOT(selectPX4())); - connect(ui->viewModeAPM, SIGNAL(clicked()), this, SLOT(selectAPM())); connect(ui->notAgainCheckBox, SIGNAL(clicked(bool)), this, SIGNAL(settingsStorageRequested(bool))); - - // XXX we need to revive the APM support or remove it completely - ui->viewModeAPM->hide(); } QGCViewModeSelection::~QGCViewModeSelection() @@ -48,10 +44,4 @@ void QGCViewModeSelection::selectPX4() { emit customViewModeSelected(MainWindow::CUSTOM_MODE_PX4); mode = MainWindow::CUSTOM_MODE_PX4; selected = true; -} - -void QGCViewModeSelection::selectAPM() { - emit customViewModeSelected(MainWindow::CUSTOM_MODE_APM); - mode = MainWindow::CUSTOM_MODE_APM; - selected = true; -} +} \ No newline at end of file diff --git a/src/ui/main/QGCViewModeSelection.h b/src/ui/main/QGCViewModeSelection.h index 9a3f5826e..1d1e81d70 100644 --- a/src/ui/main/QGCViewModeSelection.h +++ b/src/ui/main/QGCViewModeSelection.h @@ -22,7 +22,6 @@ public slots: void selectGeneric(); void selectPX4(); - void selectAPM(); void selectWifi(); signals: diff --git a/src/ui/main/QGCViewModeSelection.ui b/src/ui/main/QGCViewModeSelection.ui index b45aa7813..968a888a6 100644 --- a/src/ui/main/QGCViewModeSelection.ui +++ b/src/ui/main/QGCViewModeSelection.ui @@ -67,13 +67,6 @@ - - - - APM Autopilot - - - @@ -81,23 +74,6 @@ - - - - - - - - :/files/images/actions/qgroundcontrol-apm.svg:/files/images/actions/qgroundcontrol-apm.svg - - - - 120 - 120 - - - - -- 2.22.0