summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-08-17 18:03:56 (UTC)
committer zautrix <zautrix>2005-08-17 18:03:56 (UTC)
commit14f656fff72f1e7c2fedbb196fb97bbdd4fb1aac (patch) (side-by-side diff)
tree9ccd2676090560a0471fd72f6102a01d7a2e889a /korganizer
parentb3de38d3c4c3935a3fa428eeb4ad97fa8c60c43a (diff)
downloadkdepimpi-14f656fff72f1e7c2fedbb196fb97bbdd4fb1aac.zip
kdepimpi-14f656fff72f1e7c2fedbb196fb97bbdd4fb1aac.tar.gz
kdepimpi-14f656fff72f1e7c2fedbb196fb97bbdd4fb1aac.tar.bz2
fix fox
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditorgeneraltodo.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/korganizer/koeditorgeneraltodo.cpp b/korganizer/koeditorgeneraltodo.cpp
index 10d9a8c..d32d5a5 100644
--- a/korganizer/koeditorgeneraltodo.cpp
+++ b/korganizer/koeditorgeneraltodo.cpp
@@ -210,8 +210,3 @@ void KOEditorGeneralTodo::setDefaults(QDateTime due,bool allDay)
mTimeButton->setChecked( !allDay );
- if(mTimeButton->isChecked()) {
- mTimeButton->setEnabled(true);
- }
- else {
- mTimeButton->setEnabled(false);
- }
+ mTimeButton->setEnabled( !allDay );
@@ -254,2 +249,4 @@ void KOEditorGeneralTodo::readTodo(Todo *todo)
QDateTime dueDT;
+ mTimeButton->setChecked( !todo->doesFloat() );
+ mTimeButton->setEnabled( !todo->doesFloat() );
@@ -261,2 +258,3 @@ void KOEditorGeneralTodo::readTodo(Todo *todo)
mDueCheck->setChecked(true);
+ mTimeButton->setEnabled( true );
} else {
@@ -274,2 +272,3 @@ void KOEditorGeneralTodo::readTodo(Todo *todo)
mStartCheck->setChecked(true);
+ mTimeButton->setEnabled( true );
} else {
@@ -282,3 +281,2 @@ void KOEditorGeneralTodo::readTodo(Todo *todo)
- mTimeButton->setChecked( !todo->doesFloat() );