From 2b3ab279da2f53cc97019dc69337b2358e810ab6 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Thu, 19 Nov 2015 19:50:27 -0800 Subject: [PATCH] Fixed screwed up rebase/merge --- src/ui/SettingsDialog.cc | 17 ---- src/ui/SettingsDialog.ui | 162 --------------------------------------- 2 files changed, 179 deletions(-) diff --git a/src/ui/SettingsDialog.cc b/src/ui/SettingsDialog.cc index b930758bc..0d9bc946a 100644 --- a/src/ui/SettingsDialog.cc +++ b/src/ui/SettingsDialog.cc @@ -63,23 +63,6 @@ SettingsDialog::SettingsDialog(QWidget *parent, int showTab, Qt::WindowFlags fla this->window()->setWindowTitle(tr("QGroundControl Settings")); -<<<<<<< HEAD -======= - // Audio preferences - _ui->audioMuteCheckBox->setChecked(_audioOutput->isMuted()); - connect(_ui->audioMuteCheckBox, SIGNAL(toggled(bool)), _audioOutput, SLOT(mute(bool))); - connect(_audioOutput, SIGNAL(mutedChanged(bool)), _ui->audioMuteCheckBox, SLOT(setChecked(bool))); - - // Low power mode - _ui->lowPowerCheckBox->setChecked(_mainWindow->lowPowerModeEnabled()); - connect(_ui->lowPowerCheckBox, SIGNAL(clicked(bool)), _mainWindow, SLOT(enableLowPowerMode(bool))); - - connect(_ui->deleteSettings, &QAbstractButton::toggled, this, &SettingsDialog::_deleteSettingsToggled); - - // Application color style - _ui->styleChooser->setCurrentIndex(qgcApp()->styleIsDark() ? 0 : 1); - ->>>>>>> origin/ACWork _ui->savedFilesLocation->setText(qgcApp()->savedFilesLocation()); // Connect signals diff --git a/src/ui/SettingsDialog.ui b/src/ui/SettingsDialog.ui index 0df1859ac..d304d06be 100644 --- a/src/ui/SettingsDialog.ui +++ b/src/ui/SettingsDialog.ui @@ -37,168 +37,6 @@ -<<<<<<< HEAD -======= - - - - 0 - 0 - - - - Mute all audio output - - - - 0 - 0 - - - - - - - - - 0 - 0 - - - - Lowers all update rates to save battery power - - - Enable low power mode - - - - 0 - 0 - - - - - - - - - 0 - 0 - - - - Prompt to save Flight Data Log after each flight - - - - 0 - 0 - - - - - - - - Map Provider - - - - - - Bing - - - - - - - Google - - - - - - - Open Streets - - - - - - - - - - - 0 - 0 - - - - Style - - - false - - - false - - - - 8 - - - 8 - - - - - 0 - - - QLayout::SetDefaultConstraint - - - 0 - - - 80 - - - - - - 0 - 0 - - - - - 200 - 0 - - - - - Dark (for indoor use) - - - - - Light (for outdoor use) - - - - - - - - - - ->>>>>>> origin/ACWork -- 2.22.0