mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-19 17:11:15 +02:00
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up compiler warnings in 'utils/rdclilogedit/'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -25012,3 +25012,5 @@
|
|||||||
* Cleaned up compiler warnings in 'tests/'.
|
* Cleaned up compiler warnings in 'tests/'.
|
||||||
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Cleaned up compiler warnings in 'utils/alsaconfig/'.
|
* Cleaned up compiler warnings in 'utils/alsaconfig/'.
|
||||||
|
2025-04-26 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Cleaned up compiler warnings in 'utils/rdclilogedit/'.
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// A command-line log editor for Rivendell
|
// A command-line log editor for Rivendell
|
||||||
//
|
//
|
||||||
// (C) Copyright 2016-2022 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2016-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
|
||||||
@@ -275,15 +275,13 @@ QString MainObject::ListLine(RDLogModel *model,int line) const
|
|||||||
|
|
||||||
switch(logline->timeType()) {
|
switch(logline->timeType()) {
|
||||||
case RDLogLine::Hard:
|
case RDLogLine::Hard:
|
||||||
ret+=QString().
|
ret+=QString::asprintf("T%s ",logline->startTime(RDLogLine::Logged).
|
||||||
sprintf("T%s ",logline->startTime(RDLogLine::Logged).
|
toString("hh:mm:ss").toUtf8().constData());
|
||||||
toString("hh:mm:ss").toUtf8().constData());
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RDLogLine::Relative:
|
case RDLogLine::Relative:
|
||||||
ret+=QString().
|
ret+=QString::asprintf(" %s ",model->blockStartTime(line).
|
||||||
sprintf(" %s ",model->blockStartTime(line).
|
toString("hh:mm:ss").toUtf8().constData());
|
||||||
toString("hh:mm:ss").toUtf8().constData());
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case RDLogLine::NoTime:
|
case RDLogLine::NoTime:
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
//
|
//
|
||||||
// A command-line log editor for Rivendell
|
// A command-line log editor for Rivendell
|
||||||
//
|
//
|
||||||
// (C) Copyright 2016-2021 Fred Gleason <fredg@paravelsystems.com>
|
// (C) Copyright 2016-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
|
||||||
@@ -39,7 +39,7 @@ void MainObject::DispatchCommand(QString cmd)
|
|||||||
overwrite=true;
|
overwrite=true;
|
||||||
cmd=cmd.left(cmd.length()-1).trimmed();
|
cmd=cmd.left(cmd.length()-1).trimmed();
|
||||||
}
|
}
|
||||||
cmds=cmd.split(" ",QString::SkipEmptyParts);
|
cmds=cmd.split(" ",Qt::SkipEmptyParts);
|
||||||
verb=cmds[0].toLower();
|
verb=cmds[0].toLower();
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user