mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-08-10 09:01:17 +02:00
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'tests/'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
345192b6cd
commit
ae46abe9ce
@ -25008,3 +25008,5 @@
|
||||
* Cleaned up compiler warnings in 'rdselect/'.
|
||||
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up compiler warnings in 'ripcd/'.
|
||||
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Cleaned up compiler warnings in 'tests/'.
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Test harness for RDWaveWidget
|
||||
//
|
||||
// (C) Copyright 2021-2022 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
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -46,7 +46,7 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
//
|
||||
for(unsigned i=0;i<rda->cmdSwitch()->keys();i++) {
|
||||
if(rda->cmdSwitch()->key(i)=="--input-meter") {
|
||||
QStringList f0=rda->cmdSwitch()->value(i).split(":",QString::KeepEmptyParts);
|
||||
QStringList f0=rda->cmdSwitch()->value(i).split(":",Qt::KeepEmptyParts);
|
||||
if(f0.size()<3) {
|
||||
fprintf(stderr,"meterstrip_test: invalid --input-meter arguments\n");
|
||||
exit(RDApplication::ExitInvalidOption);
|
||||
@ -68,7 +68,7 @@ MainWidget::MainWidget(QWidget *parent)
|
||||
rda->cmdSwitch()->setProcessed(i,true);
|
||||
}
|
||||
if(rda->cmdSwitch()->key(i)=="--output-meter") {
|
||||
QStringList f0=rda->cmdSwitch()->value(i).split(":",QString::KeepEmptyParts);
|
||||
QStringList f0=rda->cmdSwitch()->value(i).split(":",Qt::KeepEmptyParts);
|
||||
if(f0.size()<3) {
|
||||
fprintf(stderr,"meterstrip_test: invalid --output-meter arguments\n");
|
||||
exit(RDApplication::ExitInvalidOption);
|
||||
|
@ -2,7 +2,7 @@
|
||||
//
|
||||
// Test the RDTimeEngine class
|
||||
//
|
||||
// (C) Copyright 2021-2023 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
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@ -56,7 +56,7 @@ MainObject::MainObject(QObject *parent)
|
||||
int id;
|
||||
QTime time;
|
||||
QStringList f0=
|
||||
rda->cmdSwitch()->value(i).split(":",QString::SkipEmptyParts);
|
||||
rda->cmdSwitch()->value(i).split(":",Qt::SkipEmptyParts);
|
||||
if(f0.size()!=4) {
|
||||
fprintf(stderr,"timeengine_test: invalid argument format\n");
|
||||
exit(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user