diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2018-05-04 05:58:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-04 05:59:17 +0200 |
commit | 818f02ec4a5045328363056ebdfa6c681c9a1d58 (patch) | |
tree | 0d62a911fa82f55509923d71a6243764917a9d2a /desktop-widgets | |
parent | fb84b1185428dd8557bba915c6a018657b92ad2f (diff) | |
download | subsurface-818f02ec4a5045328363056ebdfa6c681c9a1d58.tar.gz |
Desktop: fix time format in main tab
Fixes #1234
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/tab-widgets/maintab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.cpp b/desktop-widgets/tab-widgets/maintab.cpp index 4f80454e8..93ed8b1ac 100644 --- a/desktop-widgets/tab-widgets/maintab.cpp +++ b/desktop-widgets/tab-widgets/maintab.cpp @@ -61,6 +61,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), ui.tabWidget->addTab(extraWidgets.last(), tr("Extra Info")); ui.dateEdit->setDisplayFormat(prefs.date_format); + ui.timeEdit->setDisplayFormat(prefs.time_format); memset(&displayed_dive, 0, sizeof(displayed_dive)); memset(&displayedTrip, 0, sizeof(displayedTrip)); |