author | zautrix <zautrix> | 2005-02-07 06:16:24 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-07 06:16:24 (UTC) |
commit | 363a0e27d630452762e76131b4606e14a3231f01 (patch) (side-by-side diff) | |
tree | 11f423fbb1b29ad8315f2178d0a6ce20d7a36e7f /korganizer | |
parent | 301a4a207171549bd87815705d8dcf32ad15559d (diff) | |
download | kdepimpi-363a0e27d630452762e76131b4606e14a3231f01.zip kdepimpi-363a0e27d630452762e76131b4606e14a3231f01.tar.gz kdepimpi-363a0e27d630452762e76131b4606e14a3231f01.tar.bz2 |
another fix
-rw-r--r-- | korganizer/koeditorgeneraltodo.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp index da5ef07..6370b54 100644 --- a/korganizer/koeditorgeneraltodo.cpp +++ b/korganizer/koeditorgeneraltodo.cpp @@ -224,26 +224,28 @@ void KOEditorGeneralTodo::setDefaults(QDateTime due,bool allDay) alarmDisable(true); mStartCheck->setChecked(false); enableStartEdit(false); mDueDateEdit->setDate(due.date()); mDueTimeEdit->setTime(due.time()); due = due.addDays(-7); mStartDateEdit->setDate(due.date()); mStartTimeEdit->setTime(due.time()); mPriorityCombo->setCurrentItem(2); - mCompletedLabel->setText(i18n("completed"));; + mCompletedLabel->setText(i18n(" completed"));; mCompletedCombo->setCurrentItem(0); + mCompleteDateEdit->hide(); + mCompleteTimeEdit->hide(); } void KOEditorGeneralTodo::readTodo(Todo *todo) { mSummaryEdit->load(KOLocationBox::SUMMARYTODO); mLocationEdit->load(KOLocationBox::LOCATION); KOEditorGeneral::readIncidence(todo); QDateTime dueDT; if (todo->hasDueDate()) { @@ -456,25 +458,25 @@ void KOEditorGeneralTodo::setCompletedDate() { if (mCompletedCombo->currentItem() == 5 && mCompleted.isValid()) { if ( QApplication::desktop()->width() < 480 ) { mCompletedLabel->setText(i18n(" on")); } else mCompletedLabel->setText(i18n(" completed on ")); mCompleteDateEdit->show(); mCompleteTimeEdit->show(); mCompleteTimeEdit->setTime( mCompleted.time() ); mCompleteDateEdit->setDate( mCompleted.date() ); } else { - mCompletedLabel->setText(i18n("completed")); + mCompletedLabel->setText(i18n(" completed")); mCompleteDateEdit->hide(); mCompleteTimeEdit->hide(); } } void KOEditorGeneralTodo::modified (Todo* todo, int modification) { switch (modification) { case KOGlobals::PRIORITY_MODIFIED: mPriorityCombo->setCurrentItem(todo->priority()-1); break; case KOGlobals::COMPLETION_MODIFIED: |