aboutsummaryrefslogtreecommitdiffstats
path: root/qt-models/models.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-05-18 20:33:01 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2018-05-21 22:17:28 +0300
commitfbe1144eaf7e800a014c7a97b846835ba9f3bc7f (patch)
treefd18c14e5113f72562864016baf913f9be038664 /qt-models/models.h
parent3646fa800bf4bac89593b5a6d43c58350918ddf7 (diff)
downloadsubsurface-fbe1144eaf7e800a014c7a97b846835ba9f3bc7f.tar.gz
Dive pictures: use modelReset signal when reseting picture list
In the old code a combination of removeRows()/insertRows() was used to signal a model reset. Replace this by a single, modelReset signal. This saves a call to plotPictures() and will allow us to be smarter in the future, when removing pictures. Reset-model and remove-items are semantically different. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models/models.h')
0 files changed, 0 insertions, 0 deletions