aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/windows/subsurface.nsi.in
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-12-29 23:31:54 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-10 15:57:39 -0800
commitf5e60b9618ce514686b487739af4a7690c28d1a2 (patch)
tree4a3a3302fad5588d50ef3df02ad3c222eed70a1a /packaging/windows/subsurface.nsi.in
parent0104b0a91588cff613b74d36bff66ac54f5cd1a3 (diff)
downloadsubsurface-f5e60b9618ce514686b487739af4a7690c28d1a2.tar.gz
profile: remove AbstractProfilePolygonItem::modelDataChanged()
The old mechanism to replot the profile items was to listen to model-change signals. Then the code checked whether it actually had to update anything by looking at the changed model-indices. However, the crucial replot was always initialized with emitDataChanged(), which simple invalidated the full model and therefore shouldCalculateStuff() always returned true. Since now the replot() is called explicitly, remove the whole logic and simply rename modelDataChanged() to replot(). Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'packaging/windows/subsurface.nsi.in')
0 files changed, 0 insertions, 0 deletions