[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepim/kresources/groupwise/soap
From: Will Stephenson <wstephenson () kde ! org>
Date: 2008-07-31 22:06:02
Message-ID: 1217541962.670844.14889.nullmailer () svn ! kde ! org
[Download RAW message or body]
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<KABC::Addressee> 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 ) ); }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic