-rw-r--r-- | libopie/pim/ocontact.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/pim/ocontact.cpp b/libopie/pim/ocontact.cpp index 178559b..9cccfc8 100644 --- a/libopie/pim/ocontact.cpp +++ b/libopie/pim/ocontact.cpp | |||
@@ -624,15 +624,15 @@ QString OContact::toRichText() const | |||
624 | 624 | ||
625 | str = nickname(); | 625 | str = nickname(); |
626 | if ( !str.isEmpty() ) | 626 | if ( !str.isEmpty() ) |
627 | text += "<b>" + QObject::tr("Nickname: ") + "</b>" | 627 | text += "<b>" + QObject::tr("Nickname: ") + "</b>" |
628 | + Qtopia::escapeString(str) + "<br>"; | 628 | + Qtopia::escapeString(str) + "<br>"; |
629 | 629 | ||
630 | if ( categoryNames().count() ){ | 630 | if ( categoryNames("Contacts").count() ){ |
631 | text += "<b>" + QObject::tr( "Category:") + "</b> "; | 631 | text += "<b>" + QObject::tr( "Category:") + "</b> "; |
632 | text += categoryNames().join(", "); | 632 | text += categoryNames("Contacts").join(", "); |
633 | text += "<br>"; | 633 | text += "<br>"; |
634 | } | 634 | } |
635 | 635 | ||
636 | // notes last | 636 | // notes last |
637 | if ( !(value = notes()).isEmpty() ) { | 637 | if ( !(value = notes()).isEmpty() ) { |
638 | text += "<br><hr><b>" + QObject::tr( "Notes:") + "</b> "; | 638 | text += "<br><hr><b>" + QObject::tr( "Notes:") + "</b> "; |