Commit d3869cc7 authored by Laurent Montel's avatar Laurent Montel 😁

Add debug for testing Bug 321684

CCBUG: 321684
parent 45647b8f
......@@ -692,6 +692,7 @@ KMOpenMsgCommand::KMOpenMsgCommand( QWidget *parent, const KUrl & url,
mEncoding( encoding ),
mMainWidget( main )
{
qDebug()<<"url :"<<url;
}
KMCommand::Result KMOpenMsgCommand::execute()
......@@ -752,6 +753,11 @@ void KMOpenMsgCommand::slotResult( KJob *job )
emit completed( this );
}
else {
if (mMsgString.isEmpty()) {
qDebug()<<" Message not found. There is a problem";
doesNotContainMessage();
return;
}
int startOfMessage = 0;
if ( mMsgString.startsWith( QLatin1String( "From " ) ) ) {
startOfMessage = mMsgString.indexOf( QLatin1Char('\n') );
......
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