summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/obex/libopieobex0.control4
-rw-r--r--core/obex/obexhandler.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/core/obex/libopieobex0.control b/core/obex/libopieobex0.control
index d74b51c..6df9f36 100644
--- a/core/obex/libopieobex0.control
+++ b/core/obex/libopieobex0.control
@@ -1,9 +1,9 @@
-Files: plugins/obex/libopieobex.so*
+Files: plugins/obex/libopieobex.so* pics/obex/*
Priority: optional
Section: opie/system
-Maintainer: Holger Freyther <zecke@handhelds.org>
+Maintainer: hOlgar Freyther <zecke@handhelds.org>
Architecture: arm
Version: $QPE_VERSION-$SUB_VERSION.1
Depends: opie-base ($QPE_VERSION), openobex
Description: Irda obex lib
\ No newline at end of file
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);
}
}