mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 16:43:35 +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:
@@ -22442,3 +22442,7 @@
|
||||
activate upon *release* of the spacebar.
|
||||
* Fixed a regression that broke the Alt-X keybinding in
|
||||
rdairplay(1).
|
||||
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'.
|
||||
|
@@ -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