Merge lp:~sojkam1-fel/stellarium/fix-24h-wrap into lp:stellarium
Proposed by
Michal Sojka
Status: | Merged |
---|---|
Merged at revision: | 7481 |
Proposed branch: | lp:~sojkam1-fel/stellarium/fix-24h-wrap |
Merge into: | lp:stellarium |
Diff against target: |
63 lines (+6/-8) 2 files modified
src/core/StelApp.cpp (+5/-6) src/core/StelApp.hpp (+1/-2) |
To merge this branch: | bzr merge lp:~sojkam1-fel/stellarium/fix-24h-wrap |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexander Wolf | Approve | ||
Review via email: mp+253575@code.launchpad.net |
Description of the change
Allow running in real time for longer than 24 hours
When Stellarium runs in real time, after 24 hours the time jumps back to the instant when Stellarium was started. The reason is that class QTime, which is used for measuring elapsed time, cannot represent intervals longer than 24 hours.
Fix this problem by using QDateTime:
BTW, is there a reason why StelApp::qtime was a static member?
To post a comment you must log in.