mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-15 17:11:33 +01:00
2021-04-26 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions caused by changes in behavior in the null constructor of 'QTime' between Qt4 and Qt5. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -147,13 +147,13 @@ void PostCounter::UpdateDisplay()
|
||||
|
||||
if(post_offset_valid) {
|
||||
if(offset<-POST_COUNTER_MARGIN) {
|
||||
state="-"+QTime().addMSecs(-offset).toString();
|
||||
state="-"+QTime(0,0,0).addMSecs(-offset).toString();
|
||||
setPalette(post_early_palette);
|
||||
color=POSTPOINT_EARLY_COLOR;
|
||||
}
|
||||
else {
|
||||
if(offset>POST_COUNTER_MARGIN) {
|
||||
state="+"+QTime().addMSecs(offset).toString();
|
||||
state="+"+QTime(0,0,0).addMSecs(offset).toString();
|
||||
setPalette(post_late_palette);
|
||||
color=POSTPOINT_LATE_COLOR;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user