summaryrefslogtreecommitdiff
path: root/core
Side-by-side diff
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index adea1a1..e74da87 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -51,11 +51,11 @@ void parseEmailTo( const QString &strDefaultEmail,
ContactEditor::ContactEditor( const Contact &entry,
const QValueList<int> *newOrderedValues,
QStringList *slNewOrdered,
- QWidget *parent = 0,
- const char *name = 0,
- WFlags fl = 0 )
+ QWidget *parent,
+ const char *name,
+ WFlags fl )
: QDialog( parent, name, TRUE, fl ),
orderedValues( newOrderedValues ),
slOrdered( slNewOrdered )
{
@@ -1124,8 +1124,9 @@ QString ContactEditor::parseName( const QString fullName, int type ) {
case NAME_S:
return strSuffix;
}
+ return QString::null;
}
void ContactEditor::cleanupFields() {