summaryrefslogtreecommitdiffstats
path: root/tests/testqPrefTechnicalDetails.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-01 18:05:09 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-04 12:00:25 -0700
commit66d3eaa9430bab4ee2c8974eb73ea185973c7617 (patch)
tree1a795c4dd74b3723753f8a5fce16a5b9c0246d0a /tests/testqPrefTechnicalDetails.cpp
parentcf9303c862009f30b0a415ef9151d7fc6e14527e (diff)
downloadsubsurface-66d3eaa9430bab4ee2c8974eb73ea185973c7617.tar.gz
mobile/dive-list: performance improvement for invalid dives
Small optimization that reduces the number of accesses to the underlying model. Instead of evaluating the isInvalid member eight times per delegate, we only check it once. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'tests/testqPrefTechnicalDetails.cpp')
0 files changed, 0 insertions, 0 deletions