diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-11-08 23:18:01 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-05 10:14:25 -0800 |
commit | a4c95fd8e8fa4b9a344ac437cfc0e01fc852f277 (patch) | |
tree | a4649922ed9dcaba377a361a2730ebeee17eb913 /desktop-widgets/tab-widgets | |
parent | 72c6b838662f1fb79a806ac2264c7215efa0aa67 (diff) | |
download | subsurface-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 'desktop-widgets/tab-widgets')
-rw-r--r-- | desktop-widgets/tab-widgets/TabDiveEquipment.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveEquipment.cpp b/desktop-widgets/tab-widgets/TabDiveEquipment.cpp index ed15c20bc..f731631eb 100644 --- a/desktop-widgets/tab-widgets/TabDiveEquipment.cpp +++ b/desktop-widgets/tab-widgets/TabDiveEquipment.cpp @@ -258,13 +258,11 @@ void TabDiveEquipment::acceptChanges() MainWindow::instance()->graphics->replot(); cylindersModel->changed = false; - weightModel->changed = false; } void TabDiveEquipment::rejectChanges() { cylindersModel->changed = false; - weightModel->changed = false; cylindersModel->updateDive(); weightModel->updateDive(current_dive); } @@ -290,5 +288,3 @@ void TabDiveEquipment::closeWarning() { ui.multiDiveWarningMessage->hide(); } - - |