mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 09:03:40 +02:00
2021-09-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdairplay(1) that caused the Stop Counter to display incorrect Time Remaining values when the system's Time Format was set to 'Twelve Hour'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -133,7 +133,8 @@ void StopCounter::UpdateTime()
|
||||
msecs += 86400000; /* 1 day */
|
||||
}
|
||||
if(stop_running) {
|
||||
text=rda->timeString(QTime(0,0,1).addMSecs(msecs));
|
||||
// text=rda->timeString(QTime(0,0,1).addMSecs(msecs));
|
||||
text=QTime(0,0,1).addMSecs(msecs).toString("hh:mm:ss");
|
||||
p->drawText((sizeHint().width()-2-p->fontMetrics().width(text))/2,59,
|
||||
text);
|
||||
}
|
||||
|
Reference in New Issue
Block a user