refs #681, removed old FSD settings (we use server based FSD setup now)

This commit is contained in:
Klaus Basan
2016-06-27 03:52:54 +02:00
parent c133ad04c7
commit 5c4e4e978e
4 changed files with 14 additions and 71 deletions

View File

@@ -25,20 +25,8 @@ namespace BlackGui
ui(new Ui::CSettingsNetworkComponent)
{
ui->setupUi(this);
connect(this->ui->cb_FastPositionUpdates, &QCheckBox::released, this, &CSettingsNetworkComponent::ps_guiValuesChanged);
this->ui->cb_FastPositionUpdates->setChecked(m_interimPositionsEnabled.get());
}
CSettingsNetworkComponent::~CSettingsNetworkComponent() { }
void CSettingsNetworkComponent::ps_guiValuesChanged()
{
QObject *sender = QObject::sender();
if (sender == ui->cb_FastPositionUpdates)
{
bool enabled = this->ui->cb_FastPositionUpdates->isChecked();
m_interimPositionsEnabled.set(enabled);
}
}
} // ns
} // ns