aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/diveprofileitem.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-10 16:29:14 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-10 16:32:10 -0800
commit829473ddc64e50169fbc177c6ee5ce2bf702a3ed (patch)
tree13bfacd326c383d41ecd206b951e3eef79e902c4 /qt-ui/profile/diveprofileitem.cpp
parentba6713f0d89e5e5a8f882ca946227fdfd4154447 (diff)
downloadsubsurface-829473ddc64e50169fbc177c6ee5ce2bf702a3ed.tar.gz
Don't repopulate the model if the dive didn't change
plotDives takes a list of dives (for future use) but currently only looks at the first dive in this list. With that semantic in mind we can save ourselves some work if we first check if this is the same dive we are already showing. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveprofileitem.cpp')
0 files changed, 0 insertions, 0 deletions