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:
Fred Gleason
2021-04-26 11:28:14 -04:00
parent ca51019b4f
commit 65d249a9e1
22 changed files with 80 additions and 77 deletions

View File

@@ -691,8 +691,8 @@ void MainObject::engineData(int id)
case RDRecording::GpiStart:
catch_events[event].gpiStartTimer()->
start(catch_events[event].startLength()-
(QTime().msecsTo(current_time)-
QTime().msecsTo(catch_events[event].startTime())));
(QTime(0,0,0).msecsTo(current_time)-
QTime(0,0,0).msecsTo(catch_events[event].startTime())));
catch_record_deck_status[catch_events[event].channel()-1]=
RDDeck::Waiting;
catch_record_id[catch_events[event].channel()-1]=