tdeabc: fixed birthday assignment in VCardTool. This relates to bug 2613.

Signed-off-by: E. Kotsev <deloptes@yahoo.com>
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
E. Kotsev 9 years ago committed by Michele Calgaro
parent 491c2e4503
commit d10e1df3b0

@ -413,8 +413,11 @@ Addressee::List VCardTool::parseVCards( const TQString& vcard )
addr.setAgent( parseAgent( *lineIt ) );
// BDAY
else if ( identifier == "bday" )
addr.setBirthday( parseDateTime( (*lineIt).value().asString() ) );
else if ( identifier == "bday" ) {
TQString s((*lineIt).value().asString());
if ( s.length() > 0 )
addr.setBirthday( parseDateTime( s ) );
}
// CATEGORIES
else if ( identifier == "categories" ) {

Loading…
Cancel
Save