Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 8f9f097e authored by Laurent Montel's avatar Laurent Montel 😁

Workaround about bug in ktoolinvocation

parent 64131783
......@@ -366,7 +366,9 @@ bool KMKernel::handleCommandLine( bool noArgsOpensReader )
for ( QStringList::ConstIterator it = attachList.constBegin();
it != end; ++it ) {
if ( !(*it).isEmpty() ) {
attachURLs.append( makeAbsoluteUrl( *it ) );
if ((*it) != QLatin1String("--")) {
attachURLs.append( makeAbsoluteUrl( *it ) );
}
}
}
}
......@@ -553,7 +555,6 @@ int KMKernel::openComposer(const QString &to, const QString &cc,
const QStringList &customHeaders,
const QString &replyTo, const QString &inReplyTo)
{
kDebug();
KMail::Composer::TemplateContext context = KMail::Composer::New;
KMime::Message::Ptr msg( new KMime::Message );
MessageHelper::initHeader( msg, identityManager() );
......@@ -659,7 +660,6 @@ int KMKernel::openComposer (const QString &to, const QString &cc,
const QByteArray &attachCharset,
unsigned int identity )
{
kDebug();
KMail::Composer::TemplateContext context = KMail::Composer::New;
KMime::Message::Ptr msg( new KMime::Message );
KMime::Content *msgPart = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment