From 14cc59898a9b6405ba239919137a5c57e7e6e0d0 Mon Sep 17 00:00:00 2001 From: Sergey Starosek Date: Wed, 16 Jul 2014 20:35:22 +0400 Subject: Date picker l10n for profile and planner - set application-wide locale from preferences - use custom date format for display Signed-off-by: Sergey Starosek Signed-off-by: Dirk Hohndel --- qt-ui/maintab.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'qt-ui/maintab.cpp') 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)); -- cgit v1.2.3-70-g09d2