diff options
author | Filip Gawin <[email protected]> | 2018-10-29 02:05:45 +0100 |
---|---|---|
committer | Filip Gawin <[email protected]> | 2018-10-29 13:38:58 +0100 |
commit | 08226bc6b0147b69a1afb74d83c6a8821e93601b (patch) | |
tree | fd39c1d42c21eb751b1aa9696d7c758f6fc7d4de /utils | |
parent | 56b8b976427175731b205262f11b420581e24efd (diff) |
Simplify some statements
Diffstat (limited to 'utils')
-rw-r--r-- | utils/alsoft-config/mainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/alsoft-config/mainwindow.cpp b/utils/alsoft-config/mainwindow.cpp index 110fe4ed..56ac4f3f 100644 --- a/utils/alsoft-config/mainwindow.cpp +++ b/utils/alsoft-config/mainwindow.cpp @@ -916,7 +916,7 @@ void MainWindow::saveConfig(const QString &fname) const settings.setValue("channels", getValueFromName(speakerModeList, ui->channelConfigCombo->currentText())); uint rate = ui->sampleRateCombo->currentText().toUInt(); - if(!(rate > 0)) + if(rate <= 0) settings.setValue("frequency", QString()); else settings.setValue("frequency", rate); |