mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 06:35:52 +08:00
refs #681, removed old FSD settings (we use server based FSD setup now)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user