summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-06-18 10:40:53 (UTC)
committer zautrix <zautrix>2005-06-18 10:40:53 (UTC)
commit3c6bc55a0c7abf758df57bbb3dc0842bd6b87e6c (patch) (unidiff)
treebb721da362282858a047659ac1d0c6780a8b15f5
parent2cbe93f970eddb6b61d3fc42ccff1a500e806723 (diff)
downloadkdepimpi-3c6bc55a0c7abf758df57bbb3dc0842bd6b87e6c.zip
kdepimpi-3c6bc55a0c7abf758df57bbb3dc0842bd6b87e6c.tar.gz
kdepimpi-3c6bc55a0c7abf758df57bbb3dc0842bd6b87e6c.tar.bz2
fixx
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditordetails.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp
index 6ecf978..7354940 100644
--- a/korganizer/koeditordetails.cpp
+++ b/korganizer/koeditordetails.cpp
@@ -66,8 +66,12 @@ void CustomListViewItem<class Attendee *>::updateItem()
66 setText(2,mData->roleStr()); 66 setText(2,mData->roleStr());
67 setText(3,mData->statusStr()); 67 setText(3,mData->statusStr());
68 if (mData->RSVP() && !mData->email().isEmpty()) 68 if (mData->RSVP() && !mData->email().isEmpty()) {
69 setPixmap(4,SmallIcon("mailappt")); 69 setPixmap(4,SmallIcon("mailappt"));
70 else 70 setSortKey(4,"j");
71 }
72 else {
71 setPixmap(4,SmallIcon("nomailappt")); 73 setPixmap(4,SmallIcon("nomailappt"));
74 setSortKey(4,"n");
75 }
72} 76}
73 77
@@ -468,7 +472,9 @@ void KOEditorDetails::updateAttendeeItem()
468 a->setUid( mUidEdit->text() ); 472 a->setUid( mUidEdit->text() );
469 a->setEmail( mEmailEdit->text() ); 473 a->setEmail( mEmailEdit->text() );
474 if ( mEmailEdit->text().isEmpty() )
475 mRsvpButton->setChecked( false );
476 a->setRSVP( mRsvpButton->isChecked() );
470 a->setRole( Attendee::Role( mRoleCombo->currentItem() ) ); 477 a->setRole( Attendee::Role( mRoleCombo->currentItem() ) );
471 a->setStatus( Attendee::PartStat( mStatusCombo->currentItem() ) ); 478 a->setStatus( Attendee::PartStat( mStatusCombo->currentItem() ) );
472 a->setRSVP( mRsvpButton->isChecked() );
473 aItem->updateItem(); 479 aItem->updateItem();
474} 480}