diff options
Diffstat (limited to 'utils/alsoft-config')
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 4 | ||||
-rw-r--r-- | utils/alsoft-config/mainwindow.ui | 30 |
2 files changed, 27 insertions, 7 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index 07b5992b..110fe4ed 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -372,6 +372,7 @@ MainWindow::MainWindow(QWidget *parent) : connect(ui->defaultReverbComboBox, SIGNAL(currentIndexChanged(const QString&)), this, SLOT(enableApplyButton())); connect(ui->enableEaxReverbCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->enableStdReverbCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); + connect(ui->enableAutowahCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->enableChorusCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->enableCompressorCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); connect(ui->enableDistortionCheck, SIGNAL(stateChanged(int)), this, SLOT(enableApplyButton())); @@ -839,6 +840,7 @@ void MainWindow::loadConfig(const QString &fname) *iter = iter->trimmed(); ui->enableEaxReverbCheck->setChecked(!excludefx.contains("eaxreverb", Qt::CaseInsensitive)); ui->enableStdReverbCheck->setChecked(!excludefx.contains("reverb", Qt::CaseInsensitive)); + ui->enableAutowahCheck->setChecked(!excludefx.contains("autowah", Qt::CaseInsensitive)); ui->enableChorusCheck->setChecked(!excludefx.contains("chorus", Qt::CaseInsensitive)); ui->enableCompressorCheck->setChecked(!excludefx.contains("compressor", Qt::CaseInsensitive)); ui->enableDistortionCheck->setChecked(!excludefx.contains("distortion", Qt::CaseInsensitive)); @@ -1046,6 +1048,8 @@ void MainWindow::saveConfig(const QString &fname) const strlist.append("eaxreverb"); if(!ui->enableStdReverbCheck->isChecked()) strlist.append("reverb"); + if(!ui->enableAutowahCheck->isChecked()) + strlist.append("autowah"); if(!ui->enableChorusCheck->isChecked()) strlist.append("chorus"); if(!ui->enableDistortionCheck->isChecked()) diff --git a/utils/alsoft-config/mainwindow.ui b/utils/alsoft-config/mainwindow.ui index 18a00659..9c89cbc7 100644 --- a/utils/alsoft-config/mainwindow.ui +++ b/utils/alsoft-config/mainwindow.ui @@ -53,7 +53,7 @@ </rect> </property> <property name="currentIndex"> - <number>0</number> + <number>5</number> </property> <widget class="QWidget" name="tab_3"> <attribute name="title"> @@ -131,8 +131,8 @@ to stereo output.</string> <rect> <x>380</x> <y>20</y> - <width>93</width> - <height>29</height> + <width>80</width> + <height>20</height> </rect> </property> <property name="toolTip"> @@ -1933,7 +1933,7 @@ be useful for preventing those extensions from being used.</string> <x>10</x> <y>100</y> <width>511</width> - <height>231</height> + <height>241</height> </rect> </property> <property name="toolTip"> @@ -2140,6 +2140,22 @@ added by the ALC_EXT_DEDICATED extension.</string> <bool>true</bool> </property> </widget> + <widget class="QCheckBox" name="enableAutowahCheck"> + <property name="geometry"> + <rect> + <x>70</x> + <y>210</y> + <width>131</width> + <height>21</height> + </rect> + </property> + <property name="text"> + <string>Autowah</string> + </property> + <property name="checked"> + <bool>true</bool> + </property> + </widget> </widget> <widget class="QLabel" name="label_13"> <property name="geometry"> @@ -2162,8 +2178,8 @@ added by the ALC_EXT_DEDICATED extension.</string> <rect> <x>160</x> <y>20</y> - <width>125</width> - <height>29</height> + <width>108</width> + <height>20</height> </rect> </property> <property name="sizeAdjustPolicy"> @@ -2332,7 +2348,7 @@ added by the ALC_EXT_DEDICATED extension.</string> <x>0</x> <y>0</y> <width>564</width> - <height>27</height> + <height>21</height> </rect> </property> <widget class="QMenu" name="menuFile"> |