summaryrefslogtreecommitdiff
path: root/core/obex/receiver.cpp
Side-by-side diff
Diffstat (limited to 'core/obex/receiver.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/obex/receiver.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/obex/receiver.cpp b/core/obex/receiver.cpp
index e153152..3190353 100644
--- a/core/obex/receiver.cpp
+++ b/core/obex/receiver.cpp
@@ -28,14 +28,16 @@ using namespace Opie::Core;
/* TRANSLATOR OpieObex::Receiver */
Receiver::Receiver(RecType type) {
if (type == REC_IRDA)
m_obex = new Obex(this, "Receiver");
+#ifdef BLUETOOTH
else
m_obex = new BtObex(this, "Receiver");
+#endif
connect(m_obex, SIGNAL(receivedFile(const QString&) ),
this, SLOT(slotReceived(const QString&) ) );
m_obex->receive();
}
Receiver::~Receiver() {
m_obex->setReceiveEnabled( false );