subsurface/qt-models
Berthold Stoeger 1fd8ea9d49 cleanup: directly return from DivePictureModel::data()
Instead of assigning to a QVariant ret and returning at the end,
return directly in the various switch-cases. This makes the code
more readable, and is more idiomatic C++, as it avoids unnecessary
copies.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2020-04-10 10:53:03 -07:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt mobile: remove no longer used DiveListModel 2020-03-10 09:25:57 -07:00
completionmodels.cpp
completionmodels.h
cylindermodel.cpp Grammar: replaces 'indexes' by 'indices' 2020-03-11 08:26:30 -07:00
cylindermodel.h
divecomputerextradatamodel.cpp
divecomputerextradatamodel.h
divecomputermodel.cpp
divecomputermodel.h
diveimportedmodel.cpp Grammar: replaces 'indexes' by 'indices' 2020-03-11 08:26:30 -07:00
diveimportedmodel.h Grammar: replaces 'indexes' by 'indices' 2020-03-11 08:26:30 -07:00
divelocationmodel.cpp
divelocationmodel.h
divepicturemodel.cpp cleanup: directly return from DivePictureModel::data() 2020-04-10 10:53:03 -07:00
divepicturemodel.h
diveplannermodel.cpp
diveplannermodel.h
diveplotdatamodel.cpp
diveplotdatamodel.h
divesiteimportmodel.cpp
divesiteimportmodel.h
divesummarymodel.cpp mobile/dive-summary: use 64bit integers for statistics 2020-03-31 08:42:20 -07:00
divesummarymodel.h
divetripmodel.cpp media: move picture function from dive.c to picture.c 2020-04-10 10:53:03 -07:00
divetripmodel.h divelist: don't initialize invalidFont at startup 2020-03-24 09:01:25 -07:00
filtermodels.cpp Grammar: replaces 'indexes' by 'indices' 2020-03-11 08:26:30 -07:00
filtermodels.h Grammar: replaces 'indexes' by 'indices' 2020-03-11 08:26:30 -07:00
gpslistmodel.cpp
gpslistmodel.h
maplocationmodel.cpp
maplocationmodel.h
messagehandlermodel.cpp message handler: make the log output less verbose 2020-03-30 09:16:55 -07:00
messagehandlermodel.h
mobilelistmodel.cpp mobile/models: make dive invalid flag available to mobile UI 2020-03-21 14:31:37 -07:00
mobilelistmodel.h mobile/models: make dive invalid flag available to mobile UI 2020-03-21 14:31:37 -07:00
models.cpp
models.h
tankinfomodel.cpp
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp
weightmodel.h
weightsysteminfomodel.cpp
weightsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h