summaryrefslogtreecommitdiffstats
path: root/profile-widget/tankitem.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-25 14:29:47 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-04-02 13:53:23 -0700
commitdee1fea683a887bd117d1532a9c6377ecdc01f30 (patch)
tree2dbb57ad3eddd72cdc6e28dd3bc602b0d1ec99c3 /profile-widget/tankitem.h
parent79ddb23edfb28da8445ec9c7e79f79a62881b715 (diff)
downloadsubsurface-dee1fea683a887bd117d1532a9c6377ecdc01f30.tar.gz
planner: implement move semantics in DivePlannerPointsModel
When reordering the points, the DivePlannerPointsModel would not emit the appropriate move signals, but simply a data-changed signal over all elements. This obviously violates Qt's model/view API, though it is probably harmless. Let's do the right thing so that the frontend knows that the selected item changed place. Also, emit dataChanged only on the actually changed element, not all elements. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/tankitem.h')
0 files changed, 0 insertions, 0 deletions