diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-05-06 22:11:41 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-05-07 08:46:15 -0700 |
commit | 6790e07a4cf03b02ea2163dd4a55ff5bcf04f834 (patch) | |
tree | f1a291663c5b9b7c23f2dafb888ebad1640e3cbe /desktop-widgets | |
parent | 1cd9229ae0e01c2e3d7fd81faa566b3a8e02e09e (diff) | |
download | subsurface-6790e07a4cf03b02ea2163dd4a55ff5bcf04f834.tar.gz |
cleanup: use begin/endResetModel in ExtraDataModel
As we do in most other models, use begin/endResetModel() to
reset the model. This is distinctly less errorprone than
the add/removeRows() version as we don't have to check for
empty ranges, etc.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
0 files changed, 0 insertions, 0 deletions