File r893947.diff of Package kdepimlibs4
Subject: properly initialize kcal::attachment ctor
From: wstephenson@suse.de
Bug:
Patch-upstream: 893947
--- kcal/attachment.cpp (revision 893946)
+++ kcal/attachment.cpp (revision 893947)
@@ -48,6 +48,7 @@ class KCal::Attachment::Private
mMimeType( mime ),
mData( 0 ),
mBinary( binary ),
+ mLocal( false ),
mShowInline( false )
{}
Private( const Private &other )
@@ -86,7 +87,6 @@ Attachment::Attachment( const QString &u
: d( new Attachment::Private( mime, false ) )
{
d->mUri = uri;
- d->mLocal = false;
}
Attachment::Attachment( const char *base64, const QString &mime )
Index: kcal/attachment.cpp
===================================================================