aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-05-22 09:49:48 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-05-22 10:00:43 -0700
commit00ff63f186f65df809610d70ca9b132197b6e72d (patch)
tree8608a09f7ee76ccbd21933c044cdcaba0ccf9723 /desktop-widgets/tab-widgets/maintab.h
parentfb1cf8d0e5b30794c6d2c5fd247f17fb4d63da08 (diff)
downloadsubsurface-00ff63f186f65df809610d70ca9b132197b6e72d.tar.gz
desktop: update date and time fields if user changes format
This was more painful than expected, because we get the "preferences" changed signal too early when the user switches to system format. The correct format is set by the preferences-widget, not the preferences subsystem. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h
index c083554b1..e0bf908d1 100644
--- a/desktop-widgets/tab-widgets/maintab.h
+++ b/desktop-widgets/tab-widgets/maintab.h
@@ -66,6 +66,7 @@ slots:
void displayMessage(QString str);
void enableEdition();
void escDetected(void);
+ void updateDateTimeFields();
private:
Ui::MainTab ui;
bool editMode;