author | zecke <zecke> | 2002-06-28 16:07:01 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-28 16:07:01 (UTC) |
commit | ce221c2cf5b003f1033e6f0b603670ceb0bff7c7 (patch) (side-by-side diff) | |
tree | 4fb48670dbf009ad9735a003d08f0d138be317db | |
parent | ab413257c3a23f535e99f8f61468382c73bc4adb (diff) | |
download | opie-ce221c2cf5b003f1033e6f0b603670ceb0bff7c7.zip opie-ce221c2cf5b003f1033e6f0b603670ceb0bff7c7.tar.gz opie-ce221c2cf5b003f1033e6f0b603670ceb0bff7c7.tar.bz2 |
Fix bug #15
-rw-r--r-- | core/pim/datebook/dateentryimpl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp index 2cdda9d..33b9d9b 100644 --- a/core/pim/datebook/dateentryimpl.cpp +++ b/core/pim/datebook/dateentryimpl.cpp @@ -231,33 +231,34 @@ void DateEntry::init() /* * Destroys the object and frees any allocated resources */ DateEntry::~DateEntry() { // no need to delete child widgets, Qt does it all for us //cout << "Del: " << comboStart->currentText() << endl; } /* * public slot */ void DateEntry::slotEditNote() { QString s; - s.sprintf("<B>%d/%d</B> ", startDate.day(), startDate.month()); + s = "<B>"+ TimeString::longDateString( startDate ) + "</B>"; +// s.sprintf("<B>%d/%d</B> ", startDate.day(), startDate.month()); NoteEntry noteDlg(s+comboDescription->currentText(), noteStr, this,0,TRUE); #if defined(Q_WS_QWS) || defined(_WS_QWS_) noteDlg.showMaximized(); #endif if (noteDlg.exec() ) { noteStr=noteDlg.note->text(); } } void DateEntry::endDateChanged( int y, int m, int d ) { endDate.setYMD( y, m, d ); if ( endDate < startDate ) { |