-rw-r--r-- | core/obex/receiver.cpp | 2 |
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 | |||
@@ -30,10 +30,12 @@ using namespace Opie::Core; | |||
30 | 30 | ||
31 | Receiver::Receiver(RecType type) { | 31 | Receiver::Receiver(RecType type) { |
32 | if (type == REC_IRDA) | 32 | if (type == REC_IRDA) |
33 | m_obex = new Obex(this, "Receiver"); | 33 | m_obex = new Obex(this, "Receiver"); |
34 | #ifdef BLUETOOTH | ||
34 | else | 35 | else |
35 | m_obex = new BtObex(this, "Receiver"); | 36 | m_obex = new BtObex(this, "Receiver"); |
37 | #endif | ||
36 | connect(m_obex, SIGNAL(receivedFile(const QString&) ), | 38 | connect(m_obex, SIGNAL(receivedFile(const QString&) ), |
37 | this, SLOT(slotReceived(const QString&) ) ); | 39 | this, SLOT(slotReceived(const QString&) ) ); |
38 | m_obex->receive(); | 40 | m_obex->receive(); |
39 | } | 41 | } |