diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-02-10 18:06:38 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | d5691cd7cba5ffac6ffe1b6e85802abfc262decc (patch) | |
tree | 2a64e3fada9364c4c9c8543943d255e2a0e91381 /desktop-widgets/tab-widgets/maintab.h | |
parent | c82f4487f985a2d3fd832a1acce60fa052f9f246 (diff) | |
download | subsurface-d5691cd7cba5ffac6ffe1b6e85802abfc262decc.tar.gz |
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>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.h')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.h | 1 |
1 files changed, 0 insertions, 1 deletions
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<TabBase*> extraWidgets; }; |