Diffstat (limited to 'core/pim/todo/otaskeditor.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/otaskeditor.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/core/pim/todo/otaskeditor.cpp b/core/pim/todo/otaskeditor.cpp index e26d5e4..84f854f 100644 --- a/core/pim/todo/otaskeditor.cpp +++ b/core/pim/todo/otaskeditor.cpp | |||
@@ -44,2 +44,3 @@ OTodo OTaskEditor::todo()const{ | |||
44 | to.setRecurrence( m_rec->recurrence() ); | 44 | to.setRecurrence( m_rec->recurrence() ); |
45 | m_alarm->save( to ); | ||
45 | 46 | ||
@@ -51,2 +52,4 @@ void OTaskEditor::load(const OTodo& to) { | |||
51 | m_rec->setRecurrence( to.recurrence(), to.hasDueDate() ? to.dueDate() : QDate::currentDate() ); | 52 | m_rec->setRecurrence( to.recurrence(), to.hasDueDate() ? to.dueDate() : QDate::currentDate() ); |
53 | m_alarm->setEnabled( !to.hasRecurrence() ); | ||
54 | m_alarm->load( to ); | ||
52 | } | 55 | } |
@@ -71,8 +74,8 @@ void OTaskEditor::init() { | |||
71 | 74 | ||
72 | m_remind = new TaskEditorAlarms( m_tab ); | 75 | // m_remind = new TaskEditorAlarms( m_tab ); |
73 | m_tab->addTab( m_remind, "todo/reminder", tr("Reminders") ); | 76 | // m_tab->addTab( m_remind, "todo/reminder", tr("Reminders") ); |
74 | 77 | ||
75 | QLabel* lbl = new QLabel( m_tab ); | 78 | // QLabel* lbl = new QLabel( m_tab ); |
76 | lbl->setText( tr("X-Ref") ); | 79 | // lbl->setText( tr("X-Ref") ); |
77 | m_tab->addTab( lbl, "todo/xref", tr("X-Ref") ); | 80 | // m_tab->addTab( lbl, "todo/xref", tr("X-Ref") ); |
78 | 81 | ||