2019-12-10 Fred Gleason <fredg@paravelsystems.com>

* Refromatted the switch() statements in 'rdairplay/list_log.cpp'.
This commit is contained in:
Fred Gleason 2019-12-10 18:34:55 -05:00
parent 169e56f059
commit 152f2bd2c4
2 changed files with 314 additions and 309 deletions

View File

@ -19332,3 +19332,5 @@
* Added an 'RDTextViewer()' function.
* Added the ability to view a report at time of generation in
rdlogmanager(1).
2019-12-10 Fred Gleason <fredg@paravelsystems.com>
* Refromatted the switch() statements in 'rdairplay/list_log.cpp'.

View File

@ -1113,6 +1113,7 @@ void ListLog::RefreshItem(RDListViewItem *l,int line)
}
l->setText(14,"N");
break;
default:
if(!log_line->startTime(RDLogLine::Logged).isNull()) {
l->setText(8,TimeString(log_line->startTime(RDLogLine::Logged)));
@ -1131,10 +1132,12 @@ void ListLog::RefreshItem(RDListViewItem *l,int line)
l->setText(3,tr("PLAY"));
l->setTextColor(3,l->textColor(2),QFont::Normal);
break;
case RDLogLine::Stop:
l->setText(3,tr("STOP"));
l->setTextColor(3,l->textColor(2),QFont::Normal);
break;
case RDLogLine::Segue:
l->setText(3,tr("SEGUE"));
if(log_line->hasCustomTransition()) {