Krazy fixes and simple compiler warnings.

http://reviewboard.kde.org/r/398/

svn path=/trunk/KDE/kdepim/akregator/; revision=945082
wilder-work
Nikolai Kosjar 17 years ago
parent 4afaf8bfff
commit 933445c8a3
  1. 4
      kmmessage.cpp
  2. 2
      messagecomposer.cpp

@ -4261,9 +4261,9 @@ void KMMessage::dump( DwEntity *entity, int level )
for ( int i = 1; i <= level; i++ )
spaces += " ";
kDebug() << QString( spaces + "Headers of entity " + entity->partId() + ":" );
kDebug() << QString( spaces + "Headers of entity " + entity->partId() + ':' );
kDebug() << QString( spaces + entity->Headers().AsString().c_str() );
kDebug() << QString( spaces + "Body of entity " + entity->partId() + ":" );
kDebug() << QString( spaces + "Body of entity " + entity->partId() + ':' );
kDebug() << QString( spaces + entity->Body().AsString().c_str() );
DwBodyPart *current = entity->Body().FirstBodyPart();

@ -1779,7 +1779,7 @@ shared_ptr<DwBodyPart> MessageComposer::imageBodyPart( KMMessage &theMessage,
singleImageBodyPart.setContentTransferEncodingStr( "base64" );
singleImageBodyPart.setTypeStr( "image" );
singleImageBodyPart.setSubtypeStr( "png" );
QString contentId = "<" + image->contentID + ">";
QString contentId = '<' + image->contentID + '>';
singleImageBodyPart.setContentId( QByteArray( contentId.toLocal8Bit() ) );
// Create a DwBodyPart out of the KMMessagePart, get its string representation, and add

Loading…
Cancel
Save