projects
/
harbour-pedalo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
336d225
)
Ensure end time is calculated correctly
author
David Llewellyn-Jones
<david@flypig.co.uk>
Sun, 27 Jun 2021 17:54:58 +0000
(20:54 +0300)
committer
David Llewellyn-Jones
<david@flypig.co.uk>
Sun, 27 Jun 2021 17:54:58 +0000
(20:54 +0300)
src/journey.cpp
patch
|
blob
|
history
diff --git
a/src/journey.cpp
b/src/journey.cpp
index
775ece7
..
198d4ba
100644
(file)
--- a/
src/journey.cpp
+++ b/
src/journey.cpp
@@
-39,7
+39,7
@@
QTime Journey::getEndTime() const {
QDateTime time;
time.setMSecsSinceEpoch(start);
- time.addSecs(duration);
+ time = time.addSecs(duration);
return time.time();
}