Details
-
Sub-task
-
Resolution: Fixed
-
P4: Low
-
None
-
c1962e919 (dev), cc1ae010d (6.7)
Description
It's better to use std::chrono::duration instead of long long type for time duration.
Also there is no need to store the last strike timestamp with milliseconds accuracy; it seems seconds is enough.
Attachments
For Gerrit Dashboard: QTBUG-121012 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
530832,2 | Lightning Viewer Example: Use chrono for Time Duration + Fix Bug | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
531019,2 | Lightning Viewer Example: Use chrono for Time Duration + Fix Bug | 6.7 | qt/qtdoc | Status: MERGED | +2 | 0 |