summaryrefslogtreecommitdiff
path: root/kolabformatV2
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2013-07-15 13:32:21 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2013-07-15 13:40:34 (GMT)
commitd7d8c0ee0d6f0fe6b921ced9f1175b5859eeb057 (patch)
tree0927544690ccf77711b737fd20a3510ab923d606 /kolabformatV2
parent4b1766efc6937e1448b2948a6cf61a5543edf75a (diff)
downloadlibkolab-d7d8c0ee0d6f0fe6b921ced9f1175b5859eeb057.tar.gz
Don't set picture type
Same fix as fa19b0d for v2
Diffstat (limited to 'kolabformatV2')
-rw-r--r--kolabformatV2/contact.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/kolabformatV2/contact.cpp b/kolabformatV2/contact.cpp
index fd115b4..a788130 100644
--- a/kolabformatV2/contact.cpp
+++ b/kolabformatV2/contact.cpp
@@ -1116,7 +1116,6 @@ void Contact::saveTo( KABC::Addressee* addressee )
// This is important, otherwise we would save the image under another attachment name w/o deleting the original one!
if ( !mPicture.isNull() ) {
KABC::Picture picture( mPicture );
- picture.setType(mPictureFormat);
addressee->setPhoto( picture );
}
// Note that we must save the filename in all cases, so that removing the picture
@@ -1124,7 +1123,6 @@ void Contact::saveTo( KABC::Addressee* addressee )
addressee->insertCustom( "KOLAB", "PictureAttachmentName", mPictureAttachmentName );
if ( !mLogo.isNull() ) {
KABC::Picture picture( mLogo );
- picture.setType(mLogoFormat);
addressee->setLogo( picture );
}
addressee->insertCustom( "KOLAB", "LogoAttachmentName", mLogoAttachmentName );