-rw-r--r-- | core/pim/addressbook/abtable.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/core/pim/addressbook/abtable.cpp b/core/pim/addressbook/abtable.cpp index b8127e9..e333b17 100644 --- a/core/pim/addressbook/abtable.cpp +++ b/core/pim/addressbook/abtable.cpp | |||
@@ -677,36 +677,38 @@ QString AbTable::findContactContact( const OContact &entry, int /* row */ ) | |||
677 | case Qtopia::Profession: | 677 | case Qtopia::Profession: |
678 | value = entry.profession(); | 678 | value = entry.profession(); |
679 | break; | 679 | break; |
680 | case Qtopia::Assistant: | 680 | case Qtopia::Assistant: |
681 | value = entry.assistant(); | 681 | value = entry.assistant(); |
682 | break; | 682 | break; |
683 | case Qtopia::Manager: | 683 | case Qtopia::Manager: |
684 | value = entry.manager(); | 684 | value = entry.manager(); |
685 | break; | 685 | break; |
686 | case Qtopia::Spouse: | 686 | case Qtopia::Spouse: |
687 | value = entry.spouse(); | 687 | value = entry.spouse(); |
688 | break; | 688 | break; |
689 | case Qtopia::Gender: | 689 | case Qtopia::Gender: |
690 | value = entry.gender(); | 690 | value = entry.gender(); |
691 | break; | 691 | break; |
692 | case Qtopia::Birthday: | 692 | case Qtopia::Birthday: |
693 | value = TimeString::numberDateString( entry.birthday() ); | 693 | if ( ! entry.birthday().isNull() ) |
694 | value = TimeString::numberDateString( entry.birthday() ); | ||
694 | break; | 695 | break; |
695 | case Qtopia::Anniversary: | 696 | case Qtopia::Anniversary: |
696 | value = TimeString::numberDateString( entry.anniversary() ); | 697 | if ( ! entry.anniversary().isNull() ) |
698 | value = TimeString::numberDateString( entry.anniversary() ); | ||
697 | break; | 699 | break; |
698 | case Qtopia::Nickname: | 700 | case Qtopia::Nickname: |
699 | value = entry.nickname(); | 701 | value = entry.nickname(); |
700 | break; | 702 | break; |
701 | case Qtopia::Children: | 703 | case Qtopia::Children: |
702 | value = entry.children(); | 704 | value = entry.children(); |
703 | break; | 705 | break; |
704 | case Qtopia::Notes: | 706 | case Qtopia::Notes: |
705 | value = entry.notes(); | 707 | value = entry.notes(); |
706 | break; | 708 | break; |
707 | } | 709 | } |
708 | if ( !value.isEmpty() ) | 710 | if ( !value.isEmpty() ) |
709 | break; | 711 | break; |
710 | } | 712 | } |
711 | return value; | 713 | return value; |
712 | } | 714 | } |