2025-04-26 Fred Gleason <fredg@paravelsystems.com>

* Cleaned up compiler warnings in 'utils/alsaconfig/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2025-04-26 18:06:02 -04:00
parent ae46abe9ce
commit 193c496079
2 changed files with 4 additions and 2 deletions

View File

@@ -25010,3 +25010,5 @@
* Cleaned up compiler warnings in 'ripcd/'. * Cleaned up compiler warnings in 'ripcd/'.
2025-04-26 Fred Gleason <fredg@paravelsystems.com> 2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'tests/'. * Cleaned up compiler warnings in 'tests/'.
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'utils/alsaconfig/'.

View File

@@ -2,7 +2,7 @@
// //
// Abstract an ALSA configuration. // Abstract an ALSA configuration.
// //
// (C) Copyright 2009-2021 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2009-2025 Fred Gleason <fredg@paravelsystems.com>
// //
// This program is free software; you can redistribute it and/or modify // This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as // it under the terms of the GNU General Public License version 2 as
@@ -205,7 +205,7 @@ bool RDAlsaModel::loadConfig(const QString &filename)
break; break;
case 1: case 1:
list=str.split(" ",QString::SkipEmptyParts); list=str.split(" ",Qt::SkipEmptyParts);
if(list[0]=="}") { if(list[0]=="}") {
if((port>=0)&&(port<RD_MAX_CARDS)) { if((port>=0)&&(port<RD_MAX_CARDS)) {
for(int i=0;i<model_alsa_cards.size();i++) { for(int i=0;i<model_alsa_cards.size();i++) {