From 563734ae26998c2de5a17d309c99ba0c9bbc7608 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Wed, 20 Jul 2011 00:04:54 +1000 Subject: [PATCH] QDateEdit Locale Fix --- overview.cpp | 3 ++- overview.ui | 16 +++++++++------- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/overview.cpp b/overview.cpp index 5ab50829..450ab2e6 100644 --- a/overview.cpp +++ b/overview.cpp @@ -6,6 +6,8 @@ #include #include +#include +#include #include "overview.h" #include "ui_overview.h" #include "Graphs/graphdata_custom.h" @@ -22,7 +24,6 @@ Overview::Overview(QWidget *parent,QGLContext *context) : { ui->setupUi(this); shared_context=context; - profile=Profiles::Get(pref["Profile"].toString()); AddData(ahidata=new HistoryData(profile)); AddData(pressure=new HistoryCodeData(profile,CPAP_PressureAverage)); diff --git a/overview.ui b/overview.ui index 57477886..4b3b5946 100644 --- a/overview.ui +++ b/overview.ui @@ -10,6 +10,11 @@ 355 + + + Sans Serif + + Form @@ -90,7 +95,7 @@ 0 0 800 - 276 + 282 @@ -179,6 +184,9 @@ + + 4 + @@ -197,9 +205,6 @@ - - dd/MM/yyyy - true @@ -223,9 +228,6 @@ - - dd/MM/yyyy - true