diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 9 | ||||
-rw-r--r-- | utils/alsoft-config/mainwindow.h | 2 | ||||
-rw-r--r-- | utils/alsoft-config/mainwindow.ui | 5 |
3 files changed, 3 insertions, 13 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index ab992843..e4dc10fc 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -329,7 +329,7 @@ MainWindow::MainWindow(QWidget *parent) : connect(ui->stereoPanningComboBox, SIGNAL(currentIndexChanged(QString)), this, SLOT(enableApplyButton())); connect(ui->ambiFormatComboBox, SIGNAL(currentIndexChanged(QString)), this, SLOT(enableApplyButton())); - connect(ui->decoderHQModeCheckBox, SIGNAL(stateChanged(int)), this, SLOT(toggleHqState(int))); + connect(ui->decoderHQModeCheckBox, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->decoderDistCompCheckBox, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->decoderQuadLineEdit, SIGNAL(textChanged(QString)), this, SLOT(enableApplyButton())); connect(ui->decoderQuadButton, SIGNAL(clicked()), this, SLOT(selectQuadDecoderFile())); @@ -665,7 +665,6 @@ void MainWindow::loadConfig(const QString &fname) ui->decoderHQModeCheckBox->setChecked(hqmode); bool distcomp = settings.value("decoder/distance-comp", true).toBool(); ui->decoderDistCompCheckBox->setChecked(distcomp); - ui->decoderDistCompCheckBox->setEnabled(hqmode); ui->decoderQuadLineEdit->setText(settings.value("decoder/quad").toString()); ui->decoder51LineEdit->setText(settings.value("decoder/surround51").toString()); @@ -1110,12 +1109,6 @@ void MainWindow::updatePeriodCountSlider() } -void MainWindow::toggleHqState(int state) -{ - ui->decoderDistCompCheckBox->setEnabled(state); - enableApplyButton(); -} - void MainWindow::selectQuadDecoderFile() { selectDecoderFile(ui->decoderQuadLineEdit, "Select Quadrophonic Decoder");} void MainWindow::select51DecoderFile() diff --git a/utils/alsoft-config/mainwindow.h b/utils/alsoft-config/mainwindow.h index 6d572df6..8b763845 100644 --- a/utils/alsoft-config/mainwindow.h +++ b/utils/alsoft-config/mainwindow.h @@ -35,8 +35,6 @@ private slots: void updatePeriodCountEdit(int size); void updatePeriodCountSlider(); - void toggleHqState(int state); - void selectQuadDecoderFile(); void select51DecoderFile(); void select61DecoderFile(); diff --git a/utils/alsoft-config/mainwindow.ui b/utils/alsoft-config/mainwindow.ui index f14554e6..afb91996 100644 --- a/utils/alsoft-config/mainwindow.ui +++ b/utils/alsoft-config/mainwindow.ui @@ -601,9 +601,8 @@ appropriate speaker configuration you intend to use.</string> <string>This applies the necessary delays and attenuation to make the speakers behave as though they are all equidistant, which is important for proper -playback of 3D sound rendering. Requires the high -quality ambisonic renderer, as well as the proper -distances to be specified in the decoder +playback of 3D sound rendering. Requires the +proper distances to be specified in the decoder configuration file.</string> </property> <property name="layoutDirection"> |