subsurface/desktop-widgets/tab-widgets
Berthold Stoeger 3c0c1801cd Dive pictures: change removePicture() interface
The function removePicture() had a flag "last", which would indicate
that the called had finished removing pictures. Only then would
the model be recalculated.

This is a strange interface and, matter of fact, the caller was buggy:
if the last picture to be removed didn't have a proper url, removePicture()
was never called with "last" being set.

Change the interface to take a list of pictures to be deleted. This
will allow us to make picture deletion smarter in follow-up commits.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2018-05-21 22:17:28 +03:00
..
maintab.cpp Rename enum dive_comp_type to divemode_t 2018-05-14 23:47:00 +03:00
maintab.h Disable specific tabs when dive trip selected 2017-12-01 03:45:59 +01:00
maintab.ui Use better aliases for icons. 2017-11-30 23:14:46 -08:00
TabBase.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabBase.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.cpp Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveExtraInfo.ui Break down MainTab into smaller classes 2017-04-06 18:23:25 -07:00
TabDiveInformation.cpp Core: remove dive.h from files that don't need it 2018-05-14 10:13:39 -07:00
TabDiveInformation.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveInformation.ui Choose water presets from a qcombobox in planner, custom value possible 2018-03-02 08:38:22 -08:00
TabDivePhotos.cpp Dive pictures: change removePicture() interface 2018-05-21 22:17:28 +03:00
TabDivePhotos.h Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDivePhotos.ui Implement different zoom levels for dive photos tab 2017-12-18 12:07:10 -08:00
TabDiveStatistics.cpp Use temperature_t for temperatures in struct stats_t 2018-02-24 11:45:17 -08:00
TabDiveStatistics.h Add SPDX header to desktop widgets 2017-04-29 13:32:55 -07:00
TabDiveStatistics.ui Change layout of information and statistics tab... 2017-05-01 21:24:02 -07:00