subsurface/mobile-widgets
Berthold Stoeger eecca6aab0 Mobile: replace model-reset by row-addition in DiveListModel::reload()
Owing to apparent QML breakage, a model-reset leads to the DiveDetail
page being reloaded for every dive in the list(!). Therefore, add
rows instead.

This leads to extremely subtle code, as it is now imperative that
the model has been properly cleared beforehand. Nevertheless, for
now we have to do this to fix a severe performance regression.

Fixes #2295

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-09-27 16:33:37 -07:00
..
qml Mobile: replace model-reset by row-addition in DiveListModel::reload() 2019-09-27 16:33:37 -07:00
qmlmanager.cpp Mobile: clear dive data via model 2019-09-27 16:33:37 -07:00
qmlmanager.h Revert the singleton PR 2019-09-27 16:26:58 -07:00
qmlprefs.cpp Revert the singleton PR 2019-09-27 16:26:58 -07:00
qmlprefs.h Revert the singleton PR 2019-09-27 16:26:58 -07:00