Commit f5f86c92 authored by Simon Persson's avatar Simon Persson

Another build fix for Qt 4.6

Didn't have QDateTime::msecsTo() back then...
parent 1afd1912
...@@ -87,7 +87,7 @@ void PlanExecutor::enterAvailableState() { ...@@ -87,7 +87,7 @@ void PlanExecutor::enterAvailableState() {
} }
} else { } else {
lShouldBeTakenLater = true; lShouldBeTakenLater = true;
lTimeUntilNextWakeup = lNow.msecsTo(lNextTime); lTimeUntilNextWakeup = lNow.secsTo(lNextTime)*1000;
} }
break; break;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment