Commit 76320730 authored by Andreas Traczyk's avatar Andreas Traczyk

settings: fix record quality slider value

Change-Id: Ie7a9fce5f8f536c867a9c9f30dab44aab97f97f0
parent 4d435abb
...@@ -825,8 +825,9 @@ void SettingsWidget::populateGeneralSettings() ...@@ -825,8 +825,9 @@ void SettingsWidget::populateGeneralSettings()
auto recordPreview = LRCInstance::avModel().getRecordPreview(); auto recordPreview = LRCInstance::avModel().getRecordPreview();
ui->recordPreviewCheckBox->setChecked(recordPreview); ui->recordPreviewCheckBox->setChecked(recordPreview);
auto recordQuality = LRCInstance::avModel().getRecordQuality(); auto recordQuality = LRCInstance::avModel().getRecordQuality() / 100;
ui->recordQualityValueLabel->setText(getRecordQualityString(recordQuality)); auto recordQualityStr = getRecordQualityString(recordQuality);
ui->recordQualityValueLabel->setText(recordQualityStr);
ui->recordQualitySlider->setValue(recordQuality); ui->recordQualitySlider->setValue(recordQuality);
if (LRCInstance::avModel().getRecordPath().empty()) { if (LRCInstance::avModel().getRecordPath().empty()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment