summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Sergey Starosek <sergey.starosek@gmail.com>2014-07-16 20:35:22 +0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-16 13:58:06 -0700
commit14cc59898a9b6405ba239919137a5c57e7e6e0d0 (patch)
treedf935a4514ef1f6bb1c434d6625207a51c87f1e7 /qt-ui/maintab.cpp
parent0dd40b7a514a2ea02c2f4160a74b23c0fb9a41dd (diff)
downloadsubsurface-14cc59898a9b6405ba239919137a5c57e7e6e0d0.tar.gz
Date picker l10n for profile and planner
- set application-wide locale from preferences - use custom date format for display Signed-off-by: Sergey Starosek <sergey.starosek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index 88ff09944..d94b37d07 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -36,6 +36,7 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent),
divePictureModel(DivePictureModel::instance())
{
ui.setupUi(this);
+ ui.dateEdit->setDisplayFormat(getDateFormat());
memset(&displayed_dive, 0, sizeof(displayed_dive));