Cleanup: remove MainTab::acceptingEdit

The acceptingEdit field was used to ignore edit-signals in
MainTab::acceptEdit(). But an equivalent mechanism already
exists: setting editMode to IGNORE. For consistency, replace
the former by the latter. acceptEdit() resets the editMode
in all cases anyway.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2019-02-10 18:06:38 +01:00 committed by Dirk Hohndel
parent c82f4487f9
commit d5691cd7cb
2 changed files with 21 additions and 26 deletions

View file

@ -124,7 +124,6 @@ private:
void markChangedWidget(QWidget *w);
dive_trip_t *currentTrip;
dive_trip_t displayedTrip;
bool acceptingEdit;
QList<TabBase*> extraWidgets;
};