author | korovkin <korovkin> | 2006-12-03 14:09:33 (UTC) |
---|---|---|
committer | korovkin <korovkin> | 2006-12-03 14:09:33 (UTC) |
commit | a691909050b60b94f5525093062c23d0fab11d1b (patch) (unidiff) | |
tree | 1e1d82e76d85cd75c094ae36441ec852bb5ac456 /core/obex/receiver.cpp | |
parent | 9813113f0024205e09af9e54328287dd859fa2e8 (diff) | |
download | opie-a691909050b60b94f5525093062c23d0fab11d1b.zip opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.gz opie-a691909050b60b94f5525093062c23d0fab11d1b.tar.bz2 |
Made OBEX library buildable if bluetooth support is disabled.
-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 | |||
@@ -32,6 +32,8 @@ 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&) ) ); |