summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/downloadfromdcthread.h')
-rw-r--r--core/downloadfromdcthread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/downloadfromdcthread.h b/core/downloadfromdcthread.h
index f1b450865..ff4b8f39c 100644
--- a/core/downloadfromdcthread.h
+++ b/core/downloadfromdcthread.h
@@ -9,8 +9,9 @@
#include "dive.h"
#include "libdivecomputer.h"
#include "connectionlistmodel.h"
+#if BT_SUPPORT
#include "core/btdiscovery.h"
-
+#endif
/* Helper object for access of Device Data in QML */
class DCDeviceData : public QObject {
Q_OBJECT
@@ -100,5 +101,4 @@ extern QStringList vendorList;
extern QHash<QString, QStringList> productList;
extern QMap<QString, dc_descriptor_t *> descriptorLookup;
extern ConnectionListModel connectionListModel;
-
#endif