-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 | |||
@@ -67,2 +67,3 @@ ContactEditor::ContactEditor( const OContact &entry, | |||
67 | m_personalView ( false ) | 67 | m_personalView ( false ) |
68 | |||
68 | { | 69 | { |
@@ -71,2 +72,4 @@ ContactEditor::ContactEditor( const OContact &entry, | |||
71 | setEntry( entry ); | 72 | setEntry( entry ); |
73 | |||
74 | cmbDefaultEmail = 0; | ||
72 | } | 75 | } |
@@ -633,3 +636,3 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, QLineE | |||
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()); |