subsurface/qt-models
Jan Mulder 8d42d33f93 mobile: Prevent tripping assert on empty BT download
When (with mobile on desktop) loading from DC is called and the dive computer
to connect to is not in download mode, the repopulate() function is called
with an empty dive table. This trips the assert (obviously, debug compile only) in
DiveImportedModel::setImportedDivesIndexes(). This simple fix makes things just
more robust.

Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
2017-05-29 08:57:04 -07:00
..
cleanertablemodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
cleanertablemodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
CMakeLists.txt Move model code to models 2017-05-27 07:46:01 -07:00
completionmodels.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
completionmodels.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
cylindermodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
cylindermodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divecomputerextradatamodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divecomputerextradatamodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divecomputermodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divecomputermodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
diveimportedmodel.cpp mobile: Prevent tripping assert on empty BT download 2017-05-29 08:57:04 -07:00
diveimportedmodel.h QML UI: add downloaded dives to dive list 2017-05-28 11:54:33 -07:00
divelistmodel.cpp QML UI: add downloaded dives to dive list 2017-05-28 11:54:33 -07:00
divelistmodel.h QML UI: add downloaded dives to dive list 2017-05-28 11:54:33 -07:00
divelocationmodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divelocationmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divepicturemodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divepicturemodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
diveplannermodel.cpp Adopt planner state caching to new struct 2017-05-26 15:44:36 -07:00
diveplannermodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
diveplotdatamodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
diveplotdatamodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divesitepicturesmodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divesitepicturesmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
divetripmodel.cpp Creation of dive duration string and surface interval string 2017-05-26 15:50:52 -07:00
divetripmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
filtermodels.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
filtermodels.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
gpslistmodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
gpslistmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
models.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
models.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
ssrfsortfilterproxymodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
ssrfsortfilterproxymodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
tankinfomodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
tankinfomodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
treemodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
treemodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
weightmodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
weightmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
weigthsysteminfomodel.cpp Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
weigthsysteminfomodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00
yearlystatisticsmodel.cpp Creation of dive duration string and surface interval string 2017-05-26 15:50:52 -07:00
yearlystatisticsmodel.h Add SPDX header to Qt models 2017-04-29 13:32:55 -07:00