aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/profile/profilewidget2.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-10 16:27:05 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-10 16:27:05 -0800
commitba6713f0d89e5e5a8f882ca946227fdfd4154447 (patch)
tree1e9e4dcfc0eee8d75077679d20d80de931cfe63e /qt-ui/profile/profilewidget2.cpp
parent74c75938bf9033f28d628c6b911e0ddc2113ed6c (diff)
downloadsubsurface-ba6713f0d89e5e5a8f882ca946227fdfd4154447.tar.gz
Clean up the setDive function
* This should never be called with a NULL dive. * The dc variable was set then never used. * We now have a unique id for each dive, but we can't simply not repopulate the model in setDive as the old comment might make you consider, as otherwise the dataModel will reference already freed data in pInfo. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/profilewidget2.cpp')
0 files changed, 0 insertions, 0 deletions