Diffstat (limited to 'korganizer/koeditordetails.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | korganizer/koeditordetails.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp index 479bd8b..b90b9eb 100644 --- a/korganizer/koeditordetails.cpp +++ b/korganizer/koeditordetails.cpp @@ -118,6 +118,4 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) SLOT(updateAttendeeItem())); - mUidEdit = new QLineEdit(0); - mUidEdit->setText(""); QLabel *emailLabel = new QLabel(this); @@ -356,5 +354,5 @@ void KOEditorDetails::setDefaults() mNameEdit->setText(""); - mUidEdit->setText(""); + mUidEdit = ""; mEmailEdit->setText(""); mRoleCombo->setCurrentItem( 0 ); @@ -419,5 +417,5 @@ void KOEditorDetails::clearAttendeeInput() { mNameEdit->setText(""); - mUidEdit->setText(""); + mUidEdit = ""; mEmailEdit->setText(""); mRoleCombo->setCurrentItem(0); @@ -432,5 +430,5 @@ void KOEditorDetails::fillAttendeeInput( AttendeeListItem *aItem ) mDisableItemUpdate = true; mNameEdit->setText(a->name()); - mUidEdit->setText(a->uid()); + mUidEdit = a->uid(); mEmailEdit->setText(a->email()); mRoleCombo->setCurrentItem(a->role()); @@ -472,5 +470,5 @@ void KOEditorDetails::updateAttendeeItem() a->setName( mNameEdit->text() ); - a->setUid( mUidEdit->text() ); + a->setUid( mUidEdit ); a->setEmail( mEmailEdit->text() ); if ( mEmailEdit->text().isEmpty() ) |