summaryrefslogtreecommitdiff
path: root/core/obex/obexhandler.cpp
Side-by-side diff
Diffstat (limited to 'core/obex/obexhandler.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/obexhandler.cpp4
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
@@ -52,11 +52,11 @@ 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;