From e5f6ea343bc2b129f81fde3734b100cfa2ed6c83 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 08 Sep 2004 02:02:15 +0000 Subject: Some fixes --- (limited to 'kmicromail/opiemail.cpp') diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index 3e560c5..a1c5645 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp @@ -11,6 +11,7 @@ #include "selectsmtp.h" #include +#include #include #include @@ -47,15 +48,16 @@ void OpieMail::message(const QCString &msg, const QByteArray &data) { // copied from old mail2 static int ii = 0; - + qDebug("call ############################# %d ", ii); // block second call if ( ii < 2 ) { - ++ii; + //++ii; if ( ii > 1 ) { qDebug("qcop call blocked "); - return; + //return; } } + ++ii; //qDebug("KM:appMessage %d *%s* %x", ii, msg.data(), this); if (msg == "writeMail(QString,QString)") { @@ -79,7 +81,8 @@ void OpieMail::message(const QCString &msg, const QByteArray &data) //qDebug("message %s ", nameemail.latin1()); slotwriteMail2( nameemail ); - } + } else + ExternalAppHandler::instance()->appMessage ( msg, data); } void OpieMail::slotwriteMail2(const QString& namemail ) { -- cgit v0.9.0.2