diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-16 14:46:08 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-16 20:31:35 -0800 |
commit | 7e9a7b6223990d5431a6177f3ccbabfac0c95bdb (patch) | |
tree | 63973dfbaed2b1d04819310bbde91d21181f721a /qt-ui/printdialog.cpp | |
parent | 314cf4c628ac6e709de93f18be384fe819b46f81 (diff) | |
download | subsurface-7e9a7b6223990d5431a6177f3ccbabfac0c95bdb.tar.gz |
Fix dive merging
This limits merging dives to dives that have at most half an hour of
surface time between them. That "half hour" is kind of a random thing
to pick, but it's not horribly horribly wrong.
It also changes the semantics of "merge selected dives" to something
that actually works pretty well: you can select a whole range of
dives, and it will merge only the ones that makes sense to merge. I
tested it, and it's reasonable. I could select all my dives from one
dive trip, and then do "Merge selected dives", and it did the right
thing (Dirk: I selected the florida trip, and it merged the aborted
"missed the trench" dive with the _actual_ "trench" dive).
I'm _slightly_ hesitant about this in the sense that maybe some crazy
person actually would want to merge dives with more than half an hour
of surface time between them, but it really doesn't seem to make much
sense.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printdialog.cpp')
0 files changed, 0 insertions, 0 deletions