SVN commit 840344 by wstephens: safety - don't crash if the addressee list is empty M +1 -1 incidenceconverter.cpp --- trunk/KDE/kdepim/kresources/groupwise/soap/incidenceconverter.cpp #840343:840344 @@ -476,7 +476,7 @@ kDebug() <<"IncidenceConverter::setAttendees(), adding" << (*it)->fullName(); QString uuid; QList addList = KABC::StdAddressBook::self()->findByEmail( (*it)->email() ); - if ( !addList.first().isEmpty() ) + if ( !addList.isEmpty() && !addList.first().isEmpty() ) uuid = addList.first().custom( "GWRESOURCE", "UUID" ); //uuid may be mandatory for the recipients list to be stored on the server... item->distribution->recipients->recipient.push_back( createRecipient( (*it)->name(), (*it)->email(), uuid ) ); }