Just to look nice: update subject of the mail when updating the title of the note.

OK, the notes resource is complete now.

svn path=/branches/proko2/kdepim/; revision=326032
wilder-work
David Faure 22 years ago
parent cf8e067c11
commit 99348f3be4
  1. 10
      kmailicalifaceimpl.cpp

@ -721,6 +721,16 @@ Q_UINT32 KMailICalIfaceImpl::update( const QString& resource,
break;
}
}
// Just for cosmetics: update subject
if ( msg->subject() != subject ) {
KMMessage* newMsg = new KMMessage( *msg );
newMsg->setSubject( subject );
deleteMsg( msg );
f->addMsg( newMsg );
}
}else{
// Message not found - store it newly
rc = addIncidenceKolab( *f, subject, attachments, mimetypes );

Loading…
Cancel
Save