summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-11-08 23:18:01 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-05 10:14:25 -0800
commita4c95fd8e8fa4b9a344ac437cfc0e01fc852f277 (patch)
treea4649922ed9dcaba377a361a2730ebeee17eb913 /qt-models
parent72c6b838662f1fb79a806ac2264c7215efa0aa67 (diff)
downloadsubsurface-a4c95fd8e8fa4b9a344ac437cfc0e01fc852f277.tar.gz
Cleanup: remove WeightModel::changed
Since changes to the weight model are not modal anymore, nobody queries the changed-flag. Remove it. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
-rw-r--r--qt-models/weightmodel.cpp1
-rw-r--r--qt-models/weightmodel.h1
2 files changed, 0 insertions, 2 deletions
diff --git a/qt-models/weightmodel.cpp b/qt-models/weightmodel.cpp
index 46b084cae..ec0ea0259 100644
--- a/qt-models/weightmodel.cpp
+++ b/qt-models/weightmodel.cpp
@@ -11,7 +11,6 @@
#endif
WeightModel::WeightModel(QObject *parent) : CleanerTableModel(parent),
- changed(false),
d(nullptr),
tempRow(-1),
tempWS(empty_weightsystem)
diff --git a/qt-models/weightmodel.h b/qt-models/weightmodel.h
index 1ef7cdf53..950e96d2b 100644
--- a/qt-models/weightmodel.h
+++ b/qt-models/weightmodel.h
@@ -28,7 +28,6 @@ public:
void clear();
void updateDive(dive *d);
weightsystem_t weightSystemAt(const QModelIndex &index) const;
- bool changed;
public
slots: