mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2021-08-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdlibrary(1) that caused misaligned columns when generating a Cut Report. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -221,12 +221,12 @@ void ListReports::GenerateEventReport(QString *report)
|
||||
switch((RDRecording::StartType)q->value(1).toInt()) {
|
||||
case RDRecording::HardStart:
|
||||
*report+=QString("Hard: ")+
|
||||
RDReport::leftJustify(rda->timeString(q->value(2).toTime(),true),11)+" ";
|
||||
RDReport::leftJustify(rda->timeString(q->value(2).toTime()," "),11)+" ";
|
||||
break;
|
||||
|
||||
case RDRecording::GpiStart:
|
||||
*report+=QString("Gpi: ")+
|
||||
RDReport::leftJustify(rda->timeString(q->value(2).toTime(),true),11)+" ";
|
||||
RDReport::leftJustify(rda->timeString(q->value(2).toTime()," "),11)+" ";
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -238,12 +238,12 @@ void ListReports::GenerateEventReport(QString *report)
|
||||
switch((RDRecording::EndType)q->value(3).toInt()) {
|
||||
case RDRecording::HardEnd:
|
||||
*report+=QString("Hard: ")+
|
||||
RDReport::leftJustify(rda->timeString(q->value(4).toTime(),true),11)+" ";
|
||||
RDReport::leftJustify(rda->timeString(q->value(4).toTime()," "),11)+" ";
|
||||
break;
|
||||
|
||||
case RDRecording::GpiEnd:
|
||||
*report+=QString("Gpi: ")+
|
||||
RDReport::leftJustify(rda->timeString(q->value(4).toTime(),true),11)+" ";
|
||||
RDReport::leftJustify(rda->timeString(q->value(4).toTime()," "),11)+" ";
|
||||
break;
|
||||
|
||||
case RDRecording::LengthEnd:
|
||||
@@ -477,10 +477,10 @@ void ListReports::GenerateXloadReport(QString *report)
|
||||
// Start Time
|
||||
//
|
||||
if(rda->showTwelveHourTime()) {
|
||||
*report+=RDReport::leftJustify(rda->timeString(q->value(1).toTime(),true),11)+" ";
|
||||
*report+=RDReport::leftJustify(rda->timeString(q->value(1).toTime()," "),11)+" ";
|
||||
}
|
||||
else {
|
||||
*report+=RDReport::leftJustify(rda->timeString(q->value(1).toTime(),true),8)+" ";
|
||||
*report+=RDReport::leftJustify(rda->timeString(q->value(1).toTime()," "),8)+" ";
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user