summaryrefslogtreecommitdiffstats
path: root/core/settings/qPrefUpdateManager.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-17 22:43:43 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-06 13:58:09 -0700
commit9962d47b56eb15aba9339b22845566535c168483 (patch)
tree4101ffd5526b0a70b91e94216808cd4027ca14bc /core/settings/qPrefUpdateManager.cpp
parentfe82cb32b93e906b9bf53010538651b9c84df9db (diff)
downloadsubsurface-9962d47b56eb15aba9339b22845566535c168483.tar.gz
media: turn DivePictureModel::pictures into std::vector
QVector doesn't have a function to insert a range of pictures, which we will need for undo of image adding/deletion. Moreover, std::vector gives us stronger guarantees. For example, if capacity is large enough, it guarantees that there will be no reallocation and thus iterators stay valid. I have not found such a guarantee in the Qt docs. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/settings/qPrefUpdateManager.cpp')
0 files changed, 0 insertions, 0 deletions