From a4c95fd8e8fa4b9a344ac437cfc0e01fc852f277 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Fri, 8 Nov 2019 23:18:01 +0100 Subject: 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 --- qt-models/weightmodel.cpp | 1 - qt-models/weightmodel.h | 1 - 2 files changed, 2 deletions(-) (limited to 'qt-models') 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: -- cgit v1.2.3-70-g09d2