mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Prefer real data over planned
When a dive has both real dive computers as well as at least a planned version (which is just another dive computer with a special name), only use the data from real dive computers for aggregate values like maxdepth, dive time, average depth etc in order not to have imagined data on the dive list, statistics etc. Macro-magic-provided-by: Dirk Hohndel <dirk@hohndel.org> Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
parent
1c00f9f233
commit
acd385048a
4 changed files with 17 additions and 9 deletions
|
@ -10,7 +10,7 @@ ColumnLimit: 0
|
|||
ConstructorInitializerAllOnOneLineOrOnePerLine: true
|
||||
ConstructorInitializerIndentWidth: 8
|
||||
ContinuationIndentWidth: 8
|
||||
ForEachMacros: [ 'foreach', 'for_each_dc', 'for_each_dive', 'for_each_line', 'Q_FOREACH', 'BOOST_FOREACH' ]
|
||||
ForEachMacros: [ 'foreach', 'for_each_dc', 'for_each_relevant_dc', 'for_each_dive', 'for_each_line', 'Q_FOREACH', 'BOOST_FOREACH' ]
|
||||
IndentFunctionDeclarationAfterType: false #personal taste, good for long methods
|
||||
IndentWidth: 8
|
||||
MaxEmptyLinesToKeep: 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue