From ef69f1d1ca947a0b972e3f8d635883ae7ef0ae23 Mon Sep 17 00:00:00 2001 From: umopapisdn Date: Sun, 13 Apr 2003 23:14:23 +0000 Subject: Bugfix: (Bug #0000716) The timepicker now works in am/pm mode also, I also changed datebook to use the otimepicker class in libopie. --- (limited to 'core/pim/datebook/dateentryimpl.cpp') diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp index 33b9d9b..13d2ce2 100644 --- a/core/pim/datebook/dateentryimpl.cpp +++ b/core/pim/datebook/dateentryimpl.cpp @@ -40,7 +40,7 @@ #include #include -#include "timepicker.h" +#include #include "onoteedit.h" #include @@ -82,16 +82,16 @@ bool DateEntry::eventFilter(QObject *obj, QEvent *ev ) m_showStart = false; } } else if( ev->type() == QEvent::FocusOut ){ - if( obj == comboEnd ){ - QString s; - s.sprintf("%.2d:%.2d",endTime.hour(), endTime.minute()); - comboEnd->setText(s); - } - else if( obj == comboStart ){ - QString s; - s.sprintf("%.2d:%.2d",startTime.hour(), startTime.minute()); - comboStart->setText(s); - } +// if( obj == comboEnd ){ +// QString s; +// s.sprintf("%.2d:%.2d",endTime.hour(), endTime.minute()); +// comboEnd->setText(s); +// } +// else if( obj == comboStart ){ +// QString s; +// s.sprintf("%.2d:%.2d",startTime.hour(), startTime.minute()); +// comboStart->setText(s); +// } } return false; -- cgit v0.9.0.2