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

* Cleaned up compiler warnings in 'cae/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2025-04-26 16:22:19 -04:00
parent 69e3cee063
commit 6503d4d266
3 changed files with 7 additions and 5 deletions

View File

@@ -24982,3 +24982,5 @@
2025-04-26 Fred Gleason <fredg@paravelsystems.com> 2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in * Cleaned up compiler warnings in
'apis/rivwebcapi/rivwebcapi/rd_common.c'. 'apis/rivwebcapi/rivwebcapi/rd_common.c'.
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'cae/'.

View File

@@ -2,7 +2,7 @@
// //
// Network server for caed(8). // Network server for caed(8).
// //
// (C) Copyright 2019-2023 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2019-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
@@ -228,7 +228,7 @@ bool CaeServer::ProcessCommand(int id,const QString &cmd)
CaeServerConnection *conn=cae_connections.value(id); CaeServerConnection *conn=cae_connections.value(id);
bool ok=false; bool ok=false;
QString cmdstr=cmd; QString cmdstr=cmd;
QStringList f0=cmd.split(" ",QString::SkipEmptyParts); QStringList f0=cmd.split(" ",Qt::SkipEmptyParts);
if(f0.size()==0) { if(f0.size()==0) {
return false; return false;

View File

@@ -2,7 +2,7 @@
// //
// caed(8) driver for Advanced Linux Audio Architecture devices // caed(8) driver for Advanced Linux Audio Architecture devices
// //
// (C) Copyright 2021 Fred Gleason <fredg@paravelsystems.com> // (C) Copyright 2021-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
@@ -465,7 +465,7 @@ bool DriverJack::initialize(unsigned *next_cardnum)
// //
if(rda->station()->startJack()) { if(rda->station()->startJack()) {
QStringList args= QStringList args=
rda->station()->jackCommandLine().split(" ",QString::SkipEmptyParts); rda->station()->jackCommandLine().split(" ",Qt::SkipEmptyParts);
if(args.size()) { if(args.size()) {
QString program=args.at(0); QString program=args.at(0);
args.removeFirst(); args.removeFirst();
@@ -1421,7 +1421,7 @@ void DriverJack::clientStartData()
QString cmd=RDDateDecode(q->value(1).toString(),QDate::currentDate(), QString cmd=RDDateDecode(q->value(1).toString(),QDate::currentDate(),
rda->station(),rda->config(), rda->station(),rda->config(),
rda->config()->provisioningServiceName(rda->config()->stationName())); rda->config()->provisioningServiceName(rda->config()->stationName()));
QStringList args=cmd.split(" ",QString::SkipEmptyParts); QStringList args=cmd.split(" ",Qt::SkipEmptyParts);
QString program=args.at(0); QString program=args.at(0);
args.removeFirst(); args.removeFirst();
jack_clients.push_back(new QProcess(this)); jack_clients.push_back(new QProcess(this));