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>
(cherry picked from commit d10e1df3b0)
v3.5.13-sru
E. Kotsev 8 years ago committed by Slávek Banko
parent 85f091d4e9
commit 999cc98b7f

@ -413,9 +413,12 @@ 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" ) {
const TQStringList categories = splitString( commaSep, (*lineIt).value().asString() );

Loading…
Cancel
Save