summaryrefslogtreecommitdiff
authoreilers <eilers>2002-11-19 08:09:25 (UTC)
committer eilers <eilers>2002-11-19 08:09:25 (UTC)
commit30b3c39b9fc3d6e4da21c7f7406d66b7ebf02d1a (patch) (side-by-side diff)
treed917a8d887b0a23605002692b958891cffa08c20
parent8500e91c7d1faca6ad301244534b13885d5799a8 (diff)
downloadopie-30b3c39b9fc3d6e4da21c7f7406d66b7ebf02d1a.zip
opie-30b3c39b9fc3d6e4da21c7f7406d66b7ebf02d1a.tar.gz
opie-30b3c39b9fc3d6e4da21c7f7406d66b7ebf02d1a.tar.bz2
Minor bugfix
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/abtable.cpp6
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
@@ -687,16 +687,18 @@ QString AbTable::findContactContact( const OContact &entry, int /* row */ )
value = entry.spouse();
break;
case Qtopia::Gender:
value = entry.gender();
break;
case Qtopia::Birthday:
- value = TimeString::numberDateString( entry.birthday() );
+ if ( ! entry.birthday().isNull() )
+ value = TimeString::numberDateString( entry.birthday() );
break;
case Qtopia::Anniversary:
- value = TimeString::numberDateString( entry.anniversary() );
+ if ( ! entry.anniversary().isNull() )
+ value = TimeString::numberDateString( entry.anniversary() );
break;
case Qtopia::Nickname:
value = entry.nickname();
break;
case Qtopia::Children:
value = entry.children();