-rw-r--r-- | libopie/pim/ocontact.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libopie/pim/ocontact.cpp b/libopie/pim/ocontact.cpp index cd238ef..8a0930b 100644 --- a/libopie/pim/ocontact.cpp +++ b/libopie/pim/ocontact.cpp @@ -49,5 +49,4 @@ */ -Qtopia::UidGen OContact::sUidGen( Qtopia::UidGen::Qtopia ); /*! @@ -1471,6 +1470,8 @@ QValueList<OContact> OContact::readVCard( const QString &filename ) * Nokia6210 */ - if ( con.uid() == 0 ) + if ( con.uid() == 0 ){ con.setUid( 1 ); + qWarning("assigned new uid %d",con.uid() ); + } contacts.append(con ); |