mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-11 00:53:53 +02: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:
@@ -331,10 +331,10 @@ void Xport::SaveLog()
|
||||
XmlExit("Missing "+line+"_START_TIME",400,"logs.cpp",LINE_NUMBER);
|
||||
}
|
||||
if(ll->timeType()==RDLogLine::Hard) {
|
||||
ll->setStartTime(RDLogLine::Logged,QTime().addMSecs(integer1));
|
||||
ll->setStartTime(RDLogLine::Logged,QTime(0,0,0).addMSecs(integer1));
|
||||
}
|
||||
else {
|
||||
ll->setStartTime(RDLogLine::Predicted,QTime().addMSecs(integer1));
|
||||
ll->setStartTime(RDLogLine::Predicted,QTime(0,0,0).addMSecs(integer1));
|
||||
}
|
||||
|
||||
if(!xport_post->getValue(line+"_GRACE_TIME",&integer1)) {
|
||||
@@ -444,7 +444,7 @@ void Xport::SaveLog()
|
||||
if(!xport_post->getValue(line+"_LINK_START_TIME",&integer1)) {
|
||||
XmlExit("Missing "+line+"_LINK_START_TIME",400,"logs.cpp",LINE_NUMBER);
|
||||
}
|
||||
ll->setLinkStartTime(QTime().addMSecs(integer1));
|
||||
ll->setLinkStartTime(QTime(0,0,0).addMSecs(integer1));
|
||||
|
||||
if(!xport_post->getValue(line+"_LINK_LENGTH",&integer1)) {
|
||||
XmlExit("Missing "+line+"_LINK_LENGTH",400,"logs.cpp",LINE_NUMBER);
|
||||
|
Reference in New Issue
Block a user