aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/TabDiveInformation.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-02 12:10:33 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-11-03 23:08:39 -0800
commit7d18a525f178c2c47ec72a96fbda92d5595f95d9 (patch)
tree99e318b0b14c8f6919353833854c23df9648b9b1 /desktop-widgets/tab-widgets/TabDiveInformation.h
parent00dd98163fd2f91e3b8e65a8c03292904771401d (diff)
downloadsubsurface-7d18a525f178c2c47ec72a96fbda92d5595f95d9.tar.gz
desktop: allow update of tab widget colors at run time
Adding a new virtual function to all of these classes may seem like overkill, but of course the idea is that likely we'd allow similar changes to all of them. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveInformation.h')
-rw-r--r--desktop-widgets/tab-widgets/TabDiveInformation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.h b/desktop-widgets/tab-widgets/TabDiveInformation.h
index 8efa71d44..2beaa98ac 100644
--- a/desktop-widgets/tab-widgets/TabDiveInformation.h
+++ b/desktop-widgets/tab-widgets/TabDiveInformation.h
@@ -16,6 +16,7 @@ public:
~TabDiveInformation();
void updateData() override;
void clear() override;
+ void updateUi() override;
private slots:
void divesChanged(const QVector<dive *> &dives, DiveField field);
void cylinderChanged(dive *d);