~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to akonadi/contact/contactgroupexpandjob.cpp

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
      for ( unsigned int i = 0; i < mGroup.contactReferenceCount(); ++i ) {
57
57
        const KABC::ContactGroup::ContactReference reference = mGroup.contactReference( i );
58
58
 
59
 
        ItemFetchJob *job = new ItemFetchJob( Item( reference.uid().toLongLong() ), mParent );
 
59
        Item item;
 
60
        if ( !reference.gid().isEmpty() ) {
 
61
          item.setGid( reference.gid() );
 
62
        } else {
 
63
          item.setId( reference.uid().toLongLong() );
 
64
        }
 
65
        ItemFetchJob *job = new ItemFetchJob( item, mParent );
60
66
        job->fetchScope().fetchFullPayload();
61
67
        job->setProperty( "preferredEmail", reference.preferredEmail() );
62
68