From 9421138854b85a9baced09649f617118502610c1 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 17 Sep 2004 09:46:54 +0000 Subject: Fixed bug externalapphandler --- (limited to 'libkdepim') diff --git a/libkdepim/externalapphandler.cpp b/libkdepim/externalapphandler.cpp index fa56ee9..99aee86 100644 --- a/libkdepim/externalapphandler.cpp +++ b/libkdepim/externalapphandler.cpp @@ -81,7 +81,7 @@ bool QCopTransferItem::sendMessageToTarget(const QString& uid, const QString& pa //sourceMessage passes two parameters: sourceChannel, uid QString sourceMessage = _sourceMessage + _sourceMessageParameters; - qDebug("Using QCopEnvelope e(\"%s\",\"%s\")", _targetChannel.latin1(), sourceMessage.latin1()); + qDebug("1Using QCopEnvelope e(\"%s\",\"%s\")", _targetChannel.latin1(), sourceMessage.latin1()); qDebug("passing sourcechannel(%s), uid(%s), param1(%s), param2(%s), param3(%s) as parameter to QCopEnvelope", _sourceChannel.latin1(), uid.latin1(), param1.latin1(), param2.latin1(), param3.latin1()); QCopEnvelope e(_targetChannel.latin1(), sourceMessage.latin1()); @@ -111,8 +111,8 @@ bool QCopTransferItem::sendMessageToTarget(const QString& uid, const QString& pa void QCopTransferItem::setSourceChannel(const QString& sourceChannel) { - if (_sourceChannel.isEmpty()) - _sourceChannel = sourceChannel; + if ( !sourceChannel.isEmpty()) + _sourceChannel = sourceChannel; } @@ -197,7 +197,7 @@ bool QCopMapTransferItem::sendMessageToSource(const QString& uid, const QMapsetSourceChannel(sourceChannel); return mNameEmailUidListFromKAPITransfer->sendMessageToSource(sessionuid, list1, list2, list3); } -- cgit v0.9.0.2