-rw-r--r-- | core/pim/datebook/datebook.cpp | 2 | ||||
-rw-r--r-- | core/pim/datebook/dateentryimpl.cpp | 11 |
2 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/datebook/datebook.cpp b/core/pim/datebook/datebook.cpp index e10842a..76260e2 100644 --- a/core/pim/datebook/datebook.cpp +++ b/core/pim/datebook/datebook.cpp | |||
@@ -430,4 +430,6 @@ void DateBook::editEvent( const Event &e ) | |||
430 | while (editDlg.exec() ) { | 430 | while (editDlg.exec() ) { |
431 | Event newEv = entry->event(); | 431 | Event newEv = entry->event(); |
432 | if(newEv.description().isEmpty() && newEv.notes().isEmpty() ) | ||
433 | break; | ||
432 | newEv.setUid(e.uid()); // FIXME: Hack not to clear uid | 434 | newEv.setUid(e.uid()); // FIXME: Hack not to clear uid |
433 | QString error = checkEvent(newEv); | 435 | QString error = checkEvent(newEv); |
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp index dab3375..2cdda9d 100644 --- a/core/pim/datebook/dateentryimpl.cpp +++ b/core/pim/datebook/dateentryimpl.cpp | |||
@@ -94,5 +94,5 @@ bool DateEntry::eventFilter(QObject *obj, QEvent *ev ) | |||
94 | } | 94 | } |
95 | } | 95 | } |
96 | 96 | ||
97 | return false; | 97 | return false; |
98 | } | 98 | } |
@@ -187,5 +187,5 @@ void DateEntry::updateTimeEdit(bool s, bool e) { | |||
187 | strEnd.sprintf( "%02d:%02d", endTime.hour(), endTime.minute() ); | 187 | strEnd.sprintf( "%02d:%02d", endTime.hour(), endTime.minute() ); |
188 | } | 188 | } |
189 | 189 | ||
190 | if (s) comboStart->setText(strStart); | 190 | if (s) comboStart->setText(strStart); |
191 | if (e) comboEnd->setText(strEnd); | 191 | if (e) comboEnd->setText(strEnd); |
@@ -212,5 +212,5 @@ void DateEntry::init() | |||
212 | connect( qApp, SIGNAL(weekChanged(bool)), | 212 | connect( qApp, SIGNAL(weekChanged(bool)), |
213 | this, SLOT(slotChangeStartOfWeek(bool)) ); | 213 | this, SLOT(slotChangeStartOfWeek(bool)) ); |
214 | 214 | ||
215 | connect( editNote, SIGNAL(clicked()), | 215 | connect( editNote, SIGNAL(clicked()), |
216 | this, SLOT(slotEditNote()) ); | 216 | this, SLOT(slotEditNote()) ); |
@@ -247,5 +247,5 @@ void DateEntry::slotEditNote() { | |||
247 | s.sprintf("<B>%d/%d</B> ", startDate.day(), startDate.month()); | 247 | s.sprintf("<B>%d/%d</B> ", startDate.day(), startDate.month()); |
248 | NoteEntry noteDlg(s+comboDescription->currentText(), noteStr, | 248 | NoteEntry noteDlg(s+comboDescription->currentText(), noteStr, |
249 | this,0,TRUE); | 249 | this,0,TRUE); |
250 | 250 | ||
251 | #if defined(Q_WS_QWS) || defined(_WS_QWS_) | 251 | #if defined(Q_WS_QWS) || defined(_WS_QWS_) |
@@ -422,5 +422,5 @@ Event DateEntry::event() | |||
422 | startDate = tmp; | 422 | startDate = tmp; |
423 | } | 423 | } |
424 | 424 | ||
425 | // This is now done in the changed slots | 425 | // This is now done in the changed slots |
426 | // startTime = parseTime( comboStart->text(), ampm ); | 426 | // startTime = parseTime( comboStart->text(), ampm ); |
@@ -571,2 +571,3 @@ void DateEntry::slotChangeClock( bool whichClock ) | |||
571 | setDates( QDateTime( startDate, startTime ), QDateTime( endDate, endTime ) ); | 571 | setDates( QDateTime( startDate, startTime ), QDateTime( endDate, endTime ) ); |
572 | } | 572 | } |
573 | |||