author | tille <tille> | 2002-12-08 18:37:00 (UTC) |
---|---|---|
committer | tille <tille> | 2002-12-08 18:37:00 (UTC) |
commit | ff55ff70dc982d070bb085acb96831ae30b30902 (patch) (unidiff) | |
tree | 3cb5f5c0e75794420a525ebc7aa929003fc6a650 | |
parent | 741a70d585c5680ccdb2786df4a73e7bde1d7c5d (diff) | |
download | opie-ff55ff70dc982d070bb085acb96831ae30b30902.zip opie-ff55ff70dc982d070bb085acb96831ae30b30902.tar.gz opie-ff55ff70dc982d070bb085acb96831ae30b30902.tar.bz2 |
fix
-rw-r--r-- | core/pim/addressbook/contacteditor.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp index 7338eeb..f125edb 100644 --- a/core/pim/addressbook/contacteditor.cpp +++ b/core/pim/addressbook/contacteditor.cpp | |||
@@ -66,8 +66,11 @@ ContactEditor::ContactEditor( const OContact &entry, | |||
66 | : QDialog( parent, name, TRUE, fl ), | 66 | : QDialog( parent, name, TRUE, fl ), |
67 | m_personalView ( false ) | 67 | m_personalView ( false ) |
68 | |||
68 | { | 69 | { |
69 | 70 | ||
70 | init(); | 71 | init(); |
71 | setEntry( entry ); | 72 | setEntry( entry ); |
73 | |||
74 | cmbDefaultEmail = 0; | ||
72 | } | 75 | } |
73 | 76 | ||
@@ -632,5 +635,5 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, QLineE | |||
632 | 635 | ||
633 | if (slChooserNames[index] == "Default Email"){ | 636 | if (slChooserNames[index] == "Default Email"){ |
634 | delete cmbDefaultEmail; | 637 | if (cmbDefaultEmail) delete cmbDefaultEmail; |
635 | cmbDefaultEmail = new QComboBox(inputWid->parentWidget()); | 638 | cmbDefaultEmail = new QComboBox(inputWid->parentWidget()); |
636 | cmbDefaultEmail->setGeometry(inputWid->frameGeometry()); | 639 | cmbDefaultEmail->setGeometry(inputWid->frameGeometry()); |