summaryrefslogtreecommitdiff
path: root/core
authorzecke <zecke>2002-06-27 12:42:37 (UTC)
committer zecke <zecke>2002-06-27 12:42:37 (UTC)
commit475c11d442a03d8e53b220923626c4bb7350831f (patch) (unidiff)
tree10e7fdfc22b337dfd8f6947f09e7bd163e609f0f /core
parente69c1daabcd8149f2ad61b2cbbf205128072b415 (diff)
downloadopie-475c11d442a03d8e53b220923626c4bb7350831f.zip
opie-475c11d442a03d8e53b220923626c4bb7350831f.tar.gz
opie-475c11d442a03d8e53b220923626c4bb7350831f.tar.bz2
Fix for bug 81. It's now like in todolist
If neither description nor note is inserted it'll be discarded
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/datebook/datebook.cpp2
-rw-r--r--core/pim/datebook/dateentryimpl.cpp11
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
@@ -431,2 +431,4 @@ void DateBook::editEvent( const Event &e )
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
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
@@ -95,3 +95,3 @@ bool DateEntry::eventFilter(QObject *obj, QEvent *ev )
95 } 95 }
96 96
97 return false; 97 return false;
@@ -188,3 +188,3 @@ void DateEntry::updateTimeEdit(bool s, bool e) {
188 } 188 }
189 189
190 if (s) comboStart->setText(strStart); 190 if (s) comboStart->setText(strStart);
@@ -213,3 +213,3 @@ void DateEntry::init()
213 this, SLOT(slotChangeStartOfWeek(bool)) ); 213 this, SLOT(slotChangeStartOfWeek(bool)) );
214 214
215 connect( editNote, SIGNAL(clicked()), 215 connect( editNote, SIGNAL(clicked()),
@@ -248,3 +248,3 @@ void DateEntry::slotEditNote() {
248 NoteEntry noteDlg(s+comboDescription->currentText(), noteStr, 248 NoteEntry noteDlg(s+comboDescription->currentText(), noteStr,
249 this,0,TRUE); 249 this,0,TRUE);
250 250
@@ -423,3 +423,3 @@ Event DateEntry::event()
423 } 423 }
424 424
425 // This is now done in the changed slots 425 // This is now done in the changed slots
@@ -572 +572,2 @@ void DateEntry::slotChangeClock( bool whichClock )
572} 572}
573