From d5691cd7cba5ffac6ffe1b6e85802abfc262decc Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 10 Feb 2019 18:06:38 +0100 Subject: 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 --- desktop-widgets/tab-widgets/maintab.h | 1 - 1 file changed, 1 deletion(-) (limited to 'desktop-widgets/tab-widgets/maintab.h') diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h index f9d7417f5..b4598dadc 100644 --- a/desktop-widgets/tab-widgets/maintab.h +++ b/desktop-widgets/tab-widgets/maintab.h @@ -124,7 +124,6 @@ private: void markChangedWidget(QWidget *w); dive_trip_t *currentTrip; dive_trip_t displayedTrip; - bool acceptingEdit; QList extraWidgets; }; -- cgit v1.2.3-70-g09d2