diff -r 238255e8b033 -r 84d9eb65b26f messagingapp/msgui/appengine/src/draftsmodel.cpp --- a/messagingapp/msgui/appengine/src/draftsmodel.cpp Fri Apr 16 14:56:15 2010 +0300 +++ b/messagingapp/msgui/appengine/src/draftsmodel.cpp Mon May 03 12:29:07 2010 +0300 @@ -76,7 +76,7 @@ dateString = dateTime.toString(DATE_FORMAT); } //display name - QString contactName = item->data(NickName).toString(); + QString contactName = item->data(DisplayName).toString(); if (contactName.isEmpty()) { contactName = tr("(no recipient)"); } @@ -131,9 +131,9 @@ value = item->data(Subject); break; } - case NickName: + case DisplayName: { - value = item->data(NickName); + value = item->data(DisplayName); break; } case MessageProperty: @@ -235,7 +235,7 @@ // contact details QString contact(S60QConversions::s60DescToQString(entry.iDetails)); - item.setData(contact, NickName); + item.setData(contact, DisplayName); // Attachments if (entry.Attachment()) {