summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-02-24 21:31:34 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commitc4ad477d079d31d24f68b14bda621e0a245fdf1c (patch)
treecbaf559f29f069469988c0e1dd6226e96bc72fff /desktop-widgets/tab-widgets/maintab.h
parentd7d408a99e7459ec1a5fc2d9953e72924054b834 (diff)
downloadsubsurface-c4ad477d079d31d24f68b14bda621e0a245fdf1c.tar.gz
Cleanup: remove field-coloring code in MainTab
Since all fields on the maintab are now directly edited, there is no point in marking fields as changed. Remove unused functions MainTab::markChangedWidget() and MainTab::resetPalette(). 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.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h
index 6a41a1f64..2108b7b42 100644
--- a/desktop-widgets/tab-widgets/maintab.h
+++ b/desktop-widgets/tab-widgets/maintab.h
@@ -114,9 +114,7 @@ private:
bool lastSelectedDive;
int lastTabSelectedDive;
int lastTabSelectedDiveTrip;
- void resetPallete();
void copyTagsToDisplayedDive();
- void markChangedWidget(QWidget *w);
dive_trip_t *currentTrip;
QList<TabBase*> extraWidgets;
};