~ubuntu-branches/ubuntu/karmic/kdepim/karmic-backports

« back to all changes in this revision

Viewing changes to kaddressbook/views/contactlistview.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Christian Mangold
  • Date: 2009-07-10 06:34:50 UTC
  • mfrom: (1.1.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20090710063450-neojgew2fh0n3y0u
Tags: 4:4.2.96-0ubuntu1
* New upstream release
* Bump kde build-deps to 4.2.96

Show diffs side-by-side

added added

removed removed

Lines of Context:
113
113
 
114
114
void ContactListViewItem::refresh()
115
115
{
 
116
  if ( !mDocument ) {
 
117
    return;
 
118
  }
 
119
 
116
120
  // Update our addressee, since it may have changed else were
117
 
  mAddressee = mDocument->findByUid(mAddressee.uid());
118
 
  if (mAddressee.isEmpty())
 
121
  mAddressee = mDocument->findByUid( mAddressee.uid() );
 
122
  if ( mAddressee.isEmpty() ) {
119
123
    return;
 
124
  }
120
125
 
121
126
  int i = 0;
122
127
  // don't show unknown presence, it's not interesting