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

@@ -2,7 +2,7 @@
//
// An event timer engine.
//
// (C) Copyright 2002-2004,2016 Fred Gleason <fredg@paravelsystems.com>
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU Library General Public License
@@ -151,7 +151,7 @@ void RDTimeEngine::SetTimer()
engine_timer->start(diff);
return;
}
diff=GetNextDiff(QTime(),&engine_pending_id);
diff=GetNextDiff(QTime(0,0,0),&engine_pending_id);
if(diff!=86400001) {
diff+=(current_time.msecsTo(QTime(23,59,59))+1000);
engine_timer->start(diff);