summaryrefslogtreecommitdiff
authortille <tille>2002-12-08 18:37:00 (UTC)
committer tille <tille>2002-12-08 18:37:00 (UTC)
commitff55ff70dc982d070bb085acb96831ae30b30902 (patch) (side-by-side diff)
tree3cb5f5c0e75794420a525ebc7aa929003fc6a650
parent741a70d585c5680ccdb2786df4a73e7bde1d7c5d (diff)
downloadopie-ff55ff70dc982d070bb085acb96831ae30b30902.zip
opie-ff55ff70dc982d070bb085acb96831ae30b30902.tar.gz
opie-ff55ff70dc982d070bb085acb96831ae30b30902.tar.bz2
fix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp5
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,
m_personalView ( false )
+
{
@@ -71,2 +72,4 @@ ContactEditor::ContactEditor( const OContact &entry,
setEntry( entry );
+
+ cmbDefaultEmail = 0;
}
@@ -633,3 +636,3 @@ void ContactEditor::chooserChange( const QString &textChanged, int index, QLineE
if (slChooserNames[index] == "Default Email"){
- delete cmbDefaultEmail;
+ if (cmbDefaultEmail) delete cmbDefaultEmail;
cmbDefaultEmail = new QComboBox(inputWid->parentWidget());