-rw-r--r-- | core/obex/obexhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/obex/obexhandler.cpp b/core/obex/obexhandler.cpp index 16e1c2f..6509d12 100644 --- a/core/obex/obexhandler.cpp +++ b/core/obex/obexhandler.cpp @@ -49,17 +49,17 @@ void ObexHandler::slotSent() { m_wasRec = false; } void ObexHandler::irdaMessage( const QCString& msg, const QByteArray& data) { QDataStream stream( data, IO_ReadOnly ); if ( msg == "send(QString,QString,QString)" ) { QString name, desc; - stream >> name; stream >> desc; + stream >> name; m_wasRec = (m_receiver != 0 ); doReceive( false ); - doSend(desc, name); + doSend(name, desc); }else if (msg == "receive(int)") { int rec; stream >> rec; doReceive(rec); } } |