Commit dd695120 authored by Allen Winter's avatar Allen Winter
Browse files

minor coding style.

SVN_SILENT:

svn path=/trunk/KDE/kdepim/; revision=1060446
parent a60a9583
......@@ -438,8 +438,9 @@ KUrl FreeBusyManager::freeBusyUrl( const QString &email ) const
// Try with the url configurated by preferred email in kaddressbook
Akonadi::ContactSearchJob *job = new Akonadi::ContactSearchJob();
job->setQuery( Akonadi::ContactSearchJob::Email, email );
if ( !job->exec() )
if ( !job->exec() ) {
return KUrl();
}
QString pref;
const KABC::Addressee::List contacts = job->contacts();
......
......@@ -294,7 +294,8 @@ void KOEditorDetails::fillIncidence( Incidence *incidence )
const KABC::ContactGroup::List groups = job->contactGroups();
if ( !groups.isEmpty() ) {
toBeDeleted.push_back( item ); // remove it once we are done expanding
Akonadi::ContactGroupExpandJob *expandJob = new Akonadi::ContactGroupExpandJob( groups.first() );
Akonadi::ContactGroupExpandJob *expandJob =
new Akonadi::ContactGroupExpandJob( groups.first() );
expandJob->exec();
const KABC::Addressee::List contacts = expandJob->contacts();
......
......@@ -792,7 +792,8 @@ void KOEditorFreeBusy::fillIncidence( Incidence *incidence )
const KABC::ContactGroup::List groups = job->contactGroups();
if ( !groups.isEmpty() ) {
toBeDeleted.push_back( item ); // remove it once we are done expanding
Akonadi::ContactGroupExpandJob *expandJob = new Akonadi::ContactGroupExpandJob( groups.first() );
Akonadi::ContactGroupExpandJob *expandJob =
new Akonadi::ContactGroupExpandJob( groups.first() );
expandJob->exec();
const KABC::Addressee::List contacts = expandJob->contacts();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment