mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-13 06:03:37 +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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user