diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-09-06 22:15:37 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-10-11 16:22:27 -0700 |
commit | c341bc53c302721144ad18e24824705ecf0636f7 (patch) | |
tree | 180e2b5714ec163359625dfeeaa75fef0ed44fdd /scripts/write-version | |
parent | dd9af8e72e169256f2d3ea53cff9d5bbd8feb9fa (diff) | |
download | subsurface-c341bc53c302721144ad18e24824705ecf0636f7.tar.gz |
Dive list: replace dive-id by dive pointer
The undo-system now guarantees that pointers to dives are stable
throughout their lifetime. Therefore, replace the unique index by
pointers. This is a small performance improvement, but much more
importantly, it will make it more natural to transport a pointer
to the dive inside QModelIndex's private pointer.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'scripts/write-version')
0 files changed, 0 insertions, 0 deletions