summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditordetails.cpp10
-rw-r--r--korganizer/koeditordetails.h2
2 files changed, 5 insertions, 7 deletions
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp
index 479bd8b..b90b9eb 100644
--- a/korganizer/koeditordetails.cpp
+++ b/korganizer/koeditordetails.cpp
@@ -119,4 +119,2 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name)
- mUidEdit = new QLineEdit(0);
- mUidEdit->setText("");
@@ -357,3 +355,3 @@ void KOEditorDetails::setDefaults()
mNameEdit->setText("");
- mUidEdit->setText("");
+ mUidEdit = "";
mEmailEdit->setText("");
@@ -420,3 +418,3 @@ void KOEditorDetails::clearAttendeeInput()
mNameEdit->setText("");
- mUidEdit->setText("");
+ mUidEdit = "";
mEmailEdit->setText("");
@@ -433,3 +431,3 @@ void KOEditorDetails::fillAttendeeInput( AttendeeListItem *aItem )
mNameEdit->setText(a->name());
- mUidEdit->setText(a->uid());
+ mUidEdit = a->uid();
mEmailEdit->setText(a->email());
@@ -473,3 +471,3 @@ void KOEditorDetails::updateAttendeeItem()
a->setName( mNameEdit->text() );
- a->setUid( mUidEdit->text() );
+ a->setUid( mUidEdit );
a->setEmail( mEmailEdit->text() );
diff --git a/korganizer/koeditordetails.h b/korganizer/koeditordetails.h
index a33ee82..5f8f6f2 100644
--- a/korganizer/koeditordetails.h
+++ b/korganizer/koeditordetails.h
@@ -93,3 +93,3 @@ class KOEditorDetails : public QWidget
QLineEdit *mNameEdit;
- QLineEdit *mUidEdit;
+ QString mUidEdit;
QLineEdit *mEmailEdit;