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>
This commit is contained in:
Berthold Stoeger 2020-05-22 09:49:48 +02:00 committed by Dirk Hohndel
parent fb1cf8d0e5
commit 00ff63f186
3 changed files with 15 additions and 2 deletions

View file

@ -66,6 +66,7 @@ slots:
void displayMessage(QString str);
void enableEdition();
void escDetected(void);
void updateDateTimeFields();
private:
Ui::MainTab ui;
bool editMode;