subsurface/qt-models
Berthold Stoeger e114522a44 Cleanup: set description to null in free_[weightsystem|cylinder]
Currently, the caller is responsible for not reusing a freed
weightsystem / cylinder or resetting the description field to
null. This is very unfriendly. Set the description field to null,
because that allows us to call free_* repeatedly on the same
object. Use the new behavior to make the weightsystem model code
a bit cleaner.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
2019-12-05 10:14:25 -08:00
..
cleanertablemodel.cpp
cleanertablemodel.h
CMakeLists.txt
completionmodels.cpp
completionmodels.h
cylindermodel.cpp
cylindermodel.h
divecomputerextradatamodel.cpp
divecomputerextradatamodel.h
divecomputermodel.cpp
divecomputermodel.h
diveimportedmodel.cpp
diveimportedmodel.h
divelistmodel.cpp
divelistmodel.h
divelocationmodel.cpp
divelocationmodel.h
divepicturemodel.cpp
divepicturemodel.h
diveplannermodel.cpp
diveplannermodel.h
diveplotdatamodel.cpp
diveplotdatamodel.h
divesiteimportmodel.cpp
divesiteimportmodel.h
divetripmodel.cpp
divetripmodel.h
filtermodels.cpp Selection: move translation of indexes to filter model 2019-12-04 13:00:23 +01:00
filtermodels.h
gpslistmodel.cpp
gpslistmodel.h
maplocationmodel.cpp
maplocationmodel.h
messagehandlermodel.cpp
messagehandlermodel.h
models.cpp
models.h
tankinfomodel.cpp
tankinfomodel.h
treemodel.cpp
treemodel.h
weightmodel.cpp Cleanup: set description to null in free_[weightsystem|cylinder] 2019-12-05 10:14:25 -08:00
weightmodel.h
weightsysteminfomodel.cpp
weightsysteminfomodel.h
yearlystatisticsmodel.cpp
yearlystatisticsmodel.h